![]() |
Public API Reference |
#include <dynamics.h>
Inheritance diagram for iBodyGroup:
Public Methods | |
virtual void | AddBody (iRigidBody *body)=0 |
Adds a body to this group. More... | |
virtual void | RemoveBody (iRigidBody *body)=0 |
Removes a body from this group. More... | |
virtual bool | BodyInGroup (iRigidBody *body)=0 |
Tells whether the body is in this group or not. More... |
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.
Definition at line 138 of file dynamics.h.
|
Adds a body to this group.
|
|
Tells whether the body is in this group or not.
|
|
Removes a body from this group.
|