1
edit
Changes
no edit summary
== How to Use ==
; Sample Code To Be Placed In Design :
<pre>
iPhysicsFrame* f = CreatePhysicsFrame(); // Create base physics frame
RBDynamics* d = f->getDynamics(); // Obtain handle to physics frame
d.velocity += Vector(0, 0, 500); // Set some of the physics properties
// OPTIONAL – - Attach collision primitive
iCollisionGeometry* c = CreateCSphere(f->getRB(), 50);
o->Delete(); f->Delete(); c->Delete();
RBDynamics Properties Reference
</pre>
Vector position; // Current position of COM