Kryslin
New member
In LScript, you were able to grab an item's world rotations using a simple function, which was part of the object agent...
For a bone, that would have been <bone>.getWorldRotation(time)
Now, I'm trying to do the same thing with the Python SDK, which doesn't have that nicety.
I'm currently reading the Right, Up and Forward vectors using lwsdk.LWItemInfo().param(item_id, param, time). However, I'm probably missing something obvious here.
I'm not using any strange rotation orders, everything is bog standard HPB rotations.
Anyone care to give me a nudge in the right direction?
For a bone, that would have been <bone>.getWorldRotation(time)
Now, I'm trying to do the same thing with the Python SDK, which doesn't have that nicety.
I'm currently reading the Right, Up and Forward vectors using lwsdk.LWItemInfo().param(item_id, param, time). However, I'm probably missing something obvious here.
I'm not using any strange rotation orders, everything is bog standard HPB rotations.
Anyone care to give me a nudge in the right direction?