Getting Information from BIP Controllers

Getting Information from BIP Controllers

Peter.Harwell
Explorer Explorer
1,132 Views
1 Reply
Message 1 of 2

Getting Information from BIP Controllers

Peter.Harwell
Explorer
Explorer

Hello all,

 

I am trying to get some BIP controller information via max script.

For example, from an animated BIP I am needing to get the TCB values from the Vertical_Horizontal_Turn controller and BipSlave_Control (s)

 

I have not been able to get any proper information from the BIP controllers and this is hampering some of the script work I am doing... Would anyone know of a way to properly get this information?

0 Likes
Reply (1)
Message 2 of 2

denisT.MaxDoctor
Advisor
Advisor

@Peter.Harwell wrote:

Hello all,

 

I am trying to get some BIP controller information via max script.

For example, from an animated BIP I am needing to get the TCB values from the Vertical_Horizontal_Turn controller and BipSlave_Control (s)

 

I have not been able to get any proper information from the BIP controllers and this is hampering some of the script work I am doing... Would anyone know of a way to properly get this information?


 

First, the TCB information is BipedKey data, not Biped controller data. So, you must get the key.

for example, we have an animation for the "R UpperArm" bone, and it is selected:

 

numkeys $.controller
--
k = biped.getKey $.controller 1
k.tension
k.continuity
k.bias

 

The Biped Body controllers use extended BipedKey keys with some additional data... you can find more details in the MXS help -> BipedKey

 

0 Likes