blaze.dynamics.forces.spring1



class Spring1 : blaze.dynamics.forces.forceGenerator.ForceGenerator;
an elastic spring based on hooks law connecting a fixed anchor and a rigid rBody.

bVec2 anchor ;
spring anchor in world-space coordinates.

bVec2 offset ;
spring offset in modeling-space coordinates. default is null (no torque)

void evaluate ();
-k(|x| - d)(x / |x|) - bv

Page was generated with on Tue Feb 10 19:13:13 2009