View Full Version : Is there a way to get biped key values?

02 February 2009, 08:35 PM
Right now I'm using
biped.getTransform $ #rotation
to get a value, but it's inefficient for what I'm trying to do.

Is there another way to get values? I was using:
for other objects. Is there something similar for the biped?
do return an array of keys, but the .value property isn't returning anything.


02 February 2009, 09:54 PM
In short: no.

The biped`s internal controller organization is both confusing and annoying.

Your best bet is to count up through the controllers keys until you get an error and store that number then run a for loop up to the stored number, yanking out the data you need.

02 February 2009, 11:36 PM
Well I do find it annoying...

I'm doing something similar than what you said. It works with most biped parts, but as soon as I use .setTransform on the COM, it sets keys for both Horizontal AND Vertical and then I have to clean up with biped.deleteKey.

Unless there is a better way...

CGTalk Moderation
02 February 2009, 11:36 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.