(Sorry this double posted, this was supposed to be an Edit, not a repost).
My first guess would have been 'R', if Position was 'P', but since it wasn't I tried A - Q before I got to R.
R works for rotation.
Since I only have about 7 to go, I am going to finish and see if anything other values are in there.
Where is the documentation for this, because it sure is hidden?
# test
propName = "Spider"
# -- Get Prop --#
prop = RLPy.RScene.FindObject(RLPy.EObjectType_Prop, propName)
# -- Get Transform Control and Data --#
ts_control = prop.GetControl("Transform")
time = RLPy.RTime()
transform_for_ref = RLPy.RTransform()
ts_control.GetValue(time, transform_for_ref)
propX = transform_for_ref.R().x # Get Prop X rotation
propY = transform_for_ref.R().y # Get Prop Y rotation
propZ = transform_for_ref.R().z # Get Prop Z rotation
print ("X: ")
print (propX)
print ("Y: ")
print (propY)
print ("Z: ")
print (propZ)
Only seconds after R, I discovered S is Scale (so why T for position?).
Hopefully this post stays up here for when I forget this.
Creator of the free website:
PixelDatabase.Net
A Free Online Text Based Image Editor
