When you only change rotation with: .SetData("Rotation/RotationX"... Even if you press the play button and try hide and unhide the object the keys wont show until you save and re-load the project....More
When you want the local (or world) rotation of a bone from an Avatar. You mostly want it without the rig init rotation. Ex: if you go to the edit motion layer > FK you see that the rotation for a certain bone is zeroed out. So if you get a qauternion rotation you should get [0,0,0,1]. But currently...More
Here is a code to show the issue I'm having. To test it, you want to put some image named "image.jpg" to the same folder as the script, it will be used as texture. import os, time, math, random, RLPy, PySide2, copy from winreg import *...More
When you set an angle like 359 degrees on frame 1 with code like this: control=transform_settings.GetControl("Rotation/RotationZ") control.SetValue(RLPy.RTime(time_value), float(math.radians(rot_z)))...More
When get the position of the bones from an avatar and then set the value cause the bone move. This is because the value you get is wrong and when you set it. The avatar try reach the new position....More
I have a script that uses GetVisemeKeys() and that ran fine in API 072. Have in API 073, I get an error. Here is a snippet to illustrate this (before running, make sure there is at least one avatar is in the scene): import RLPy...More
There seems to be some issue when using RRgb(r,g,b) and RColor(r,g,b,1.0) When using one of the color constants everything is ok: print(str(RLPy.RRgb.BLUE.Red())+" "+str(RLPy.RRgb.BLUE.Red())+" "+str(RLPy.RRgb.BLUE.Blue()))...More