![]() |
Colliding Shapes
Ian Parberry's "Introduction to Game Physics"
|
Interface for CShapeDesc and CShape. More...
Classes | |
class | CShapeDesc |
Shape Descriptor. More... | |
class | CShape |
Shape. More... | |
Enumerations | |
enum | eShape { Unknown, Point, Line, LineSeg, Circle, Arc } |
Shape type. | |
enum | eMotion { Static, Kinematic, Dynamic, Size } |
Shape motion type. More... | |
|
strong |
Shape motion can be either static, kinematic, or dynamic. Static shapes don't move, they collide with only dynamic shapes, and they are unaffected by collisions. Kinematic shapes move, they collide with only dynamic shapes, and they are unaffected by collisions. Dynamic shapes move, they collide with shapes of all three motion types, and they are affected by collisions.