Changes

Jump to: navigation, search

Team Guardian Physics

50 bytes added, 18:59, 5 April 2011
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

Navigation menu