Notifications
Clear all

[Closed] Is there a way to get biped key values?

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:
$[#transform][#rotation][#x_rotation].controller.keys[n].value
for other objects. Is there something similar for the biped?
$[transform].controller.keys
do return an array of keys, but the .value property isn’t returning anything.

thanks,

2 Replies

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.

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…