Changes

Jump to: navigation, search

Team Guardian Physics

No change in size, 18:58, 6 April 2011
no edit summary
o->Delete(); f->Delete(); c->Delete();
</pre>
 
== Integrating Framework Into Existing Projects ==
 
There are three ways to integrate the framework into your game:
 
# As a physics simulator and collision detector combination
# As a physics simulator only
# As a collision detector only
 
Please skip to the section relevant to your interests :)
 
=== Combined Physics Simulator/Collision Detector ===
 
This is the framework in its default state. Integration is relatively straightforward and should be performed in three steps.
 
# Copy all files unique to the physics framework into your working copy. Add the files to your solution as desired; I recommend that new project filters be created to keep the physics code separate from everything else.
# Overwrite all of Chris' files that you did not modify during development that are also present in the physics framework barebones package.
# Merge together files that you've modified from Chris' reference implementation and that are also present in the physics framework barebones package.
 
The barebones package assumes that your working copy is based on sample 28 but should integrate well with all samples 16 (possibly 22) and above.
== Framework Reference ==
; Vector hitNormal : A unit vector in world space perpendicular to the surface of collision, points in the direction of <code>other</code>.
; Vector hitLocation : The location in world space of the point of collision.
 
== Integrating Framework Into Existing Projects ==
 
There are three ways to integrate the framework into your game:
 
# As a physics simulator and collision detector combination
# As a physics simulator only
# As a collision detector only
 
Please skip to the section relevant to your interests :)
 
=== Combined Physics Simulator/Collision Detector ===
 
This is the framework in its default state. Integration is relatively straightforward and should be performed in three steps.
 
# Copy all files unique to the physics framework into your working copy. Add the files to your solution as desired; I recommend that new project filters be created to keep the physics code separate from everything else.
# Overwrite all of Chris' files that you did not modify during development that are also present in the physics framework barebones package.
# Merge together files that you've modified from Chris' reference implementation and that are also present in the physics framework barebones package.
 
The barebones package assumes that your working copy is based on sample 28 but should integrate well with all samples 16 (possibly 22) and above.
== RBDynamics Reference ==

Navigation menu