Class | ODE::FixedJoint |
In: |
ext/body.c
(CVS)
|
Parent: | ODE::Joint |
ODE::FixedJoint#initialize( world, jointGroup ) — Create and return a new ODE::FixedJoint.
/* * ODE::FixedJoint#initialize( world, jointGroup ) * -- * Create and return a new ODE::FixedJoint. */ static VALUE ode_fixedJoint_init( argc, argv, self ) int argc; VALUE *argv, self; { return ode_joint_construct( argc, argv, self, dJointCreateFixed, 0 ); }
ODE::FixedJoint#fix() — Call this on the fixed joint after it has been attached to remember the current desired relative offset between the bodies.
/* * ODE::FixedJoint#fix() * -- * Call this on the fixed joint after it has been attached to remember the * current desired relative offset between the bodies. */ static VALUE ode_fixedJoint_fix( self ) VALUE self; { ode_JOINT *ptr = get_joint( self ); dJointSetFixed( ptr->id ); return Qtrue; }