![]() |
Public API Reference |
![]() |
Body Group is a collection of bodies which don't collide with each other. More...
#include <ivaria/dynamics.h>
Public Member Functions | |
virtual void | AddBody (iRigidBody *body)=0 |
Add a body to this group. | |
virtual bool | BodyInGroup (iRigidBody *body)=0 |
Tell whether the body is in this group or not. | |
virtual void | RemoveBody (iRigidBody *body)=0 |
Remove a body from this group. |
Body Group is a collection of bodies which don't collide with each other.
This can speed up processing by manually avoiding certain collisions. For instance if you have a car built of many different bodies. The bodies can be collected into a group and the car will be treated as a single object.
Main creators of instances implementing this interface:
Main ways to get pointers to this interface:
Main users of this interface:
Definition at line 462 of file dynamics.h.
virtual void iBodyGroup::AddBody | ( | iRigidBody * | body | ) | [pure virtual] |
Add a body to this group.
virtual bool iBodyGroup::BodyInGroup | ( | iRigidBody * | body | ) | [pure virtual] |
Tell whether the body is in this group or not.
virtual void iBodyGroup::RemoveBody | ( | iRigidBody * | body | ) | [pure virtual] |
Remove a body from this group.