Exemple #1
0
 static void integrate(ref MotionVelocity velocity, ref MotionData motion, float timestep)
 {
     motion.WorldFromMotion.pos += velocity.LinearVelocity * timestep;
     Integrator.IntegrateOrientation(ref motion.WorldFromMotion.rot, velocity.AngularVelocity, timestep);
 }