anyKode Marilou
ContentsIndexHome
PreviousUpNext
Moda::Commons::JointAxisSpringSettingsSet Structure
C++
struct JointAxisSpringSettingsSet {
  MU8 Enabled;
  float Kp;
  float Kd;
  float InitialLength;
};

modacommons.h

Members 
Description 
MU8 Enabled; 
Enable (=1) or disable (=0) the spring. 
float Kp; 
New spring damping constant. 
float Kd; 
New spring constant. 
float InitialLength; 
Initial compressed state (<0) or stretched state (> 0) to be set. Note: changing the initial length state is not available for every joints. Check it from the Marilou editor to be sure. 

Axis spring parameter to be set.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!