cocos2d-x  3.5
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PhysicsBody Class Reference

A body affect by physics. More...

#include <CCPhysicsBody.h>

Inheritance diagram for PhysicsBody:
Ref

Public Member Functions

virtual PhysicsShapeaddShape (PhysicsShape *shape, bool addMassAndMoment=true)
 Add a shape to body. More...
 
void removeShape (PhysicsShape *shape, bool reduceMassAndMoment=true)
 Remove a shape from body. More...
 
void removeShape (int tag, bool reduceMassAndMoment=true)
 Remove a shape from body. More...
 
void removeAllShapes (bool reduceMassAndMoment=true)
 Remove all shapes. More...
 
const Vector< PhysicsShape * > & getShapes () const
 Get the body shapes. More...
 
PhysicsShapegetFirstShape () const
 Get the first shape of the body shapes. More...
 
PhysicsShapegetShape (int tag) const
 get the shape of the body. More...
 
virtual void applyForce (const Vect &force)
 Applies a continuous force to body. More...
 
virtual void applyForce (const Vect &force, const Vec2 &offset)
 Applies a continuous force to body. More...
 
virtual void resetForces ()
 reset all the force applied to body. More...
 
virtual void applyImpulse (const Vect &impulse)
 Applies a immediate force to body. More...
 
virtual void applyImpulse (const Vect &impulse, const Vec2 &offset)
 Applies a immediate force to body. More...
 
virtual void applyTorque (float torque)
 Applies a torque force to body. More...
 
virtual void setVelocity (const Vect &velocity)
 Set the velocity of a body. More...
 
virtual Vec2 getVelocity ()
 Get the velocity of a body. More...
 
virtual void setAngularVelocity (float velocity)
 Set the angular velocity of a body. More...
 
virtual Vec2 getVelocityAtLocalPoint (const Vec2 &point)
 Get the angular velocity of a body at a local point. More...
 
virtual Vec2 getVelocityAtWorldPoint (const Vec2 &point)
 get the angular velocity of a body at a world point More...
 
virtual float getAngularVelocity ()
 get the angular velocity of a body More...
 
virtual void setVelocityLimit (float limit)
 set the max of velocity More...
 
virtual float getVelocityLimit ()
 get the max of velocity More...
 
virtual void setAngularVelocityLimit (float limit)
 set the max of angular velocity More...
 
virtual float getAngularVelocityLimit ()
 get the max of angular velocity More...
 
void removeFromWorld ()
 remove the body from the world it added to More...
 
PhysicsWorldgetWorld () const
 get the world body added to. More...
 
const std::vector
< PhysicsJoint * > & 
getJoints () const
 get all joints the body have More...
 
NodegetNode () const
 get the sprite the body set to. More...
 
void setCategoryBitmask (int bitmask)
 A mask that defines which categories this physics body belongs to. More...
 
void setContactTestBitmask (int bitmask)
 A mask that defines which categories of bodies cause intersection notifications with this physics body. More...
 
void setCollisionBitmask (int bitmask)
 A mask that defines which categories of physics bodies can collide with this physics body. More...
 
int getCategoryBitmask () const
 Return bitmask of first shape. More...
 
int getContactTestBitmask () const
 Return bitmask of first shape. More...
 
int getCollisionBitmask () const
 Return bitmask of first shape. More...
 
void setGroup (int group)
 Set the group of body. More...
 
int getGroup () const
 Return group of first shape. More...
 
const Vec2getPosition ()
 get the body position. More...
 
float getRotation ()
 get the body rotation. More...
 
void setPositionOffset (const Vec2 &position)
 set body position offset, it's the position witch relative to node More...
 
const Vec2getPositionOffset () const
 get body position offset. More...
 
void setRotationOffset (float rotation)
 set body rotation offset, it's the rotation witch relative to node More...
 
float getRotationOffset () const
 set the body rotation offset More...
 
bool isDynamic () const
 Test the body is dynamic or not. More...
 
void setDynamic (bool dynamic)
 Set dynamic to body. More...
 
void setMass (float mass)
 Set the body mass. More...
 
float getMass () const
 Get the body mass. More...
 
void addMass (float mass)
 Add mass to body. More...
 
void setMoment (float moment)
 Set the body moment of inertia. More...
 
float getMoment () const
 Get the body moment of inertia. More...
 
void addMoment (float moment)
 Add moment of inertia to body. More...
 
float getLinearDamping () const
 get linear damping. More...
 
void setLinearDamping (float damping)
 Set linear damping. More...
 
float getAngularDamping () const
 Get angular damping. More...
 
void setAngularDamping (float damping)
 Set angular damping. More...
 
bool isResting () const
 Whether the body is at rest. More...
 
void setResting (bool rest) const
 set body to rest More...
 
bool isEnabled () const
 Whether the body is enabled. More...
 
void setEnable (bool enable)
 Set the enable value. More...
 
bool isRotationEnabled () const
 Whether the body can rotation. More...
 
void setRotationEnable (bool enable)
 Set the body is allow rotation or not. More...
 
bool isGravityEnabled () const
 Whether this physics body is affected by the physics world’s gravitational force. More...
 
void setGravityEnable (bool enable)
 Set the body is affected by the physics world's gravitational force or not. More...
 
int getTag () const
 Get the body's tag. More...
 
void setTag (int tag)
 set the body's tag. More...
 
Vec2 world2Local (const Vec2 &point)
 Convert the world point to local. More...
 
Vec2 local2World (const Vec2 &point)
 Convert the local point to world. More...
 
cpBody * getCPBody ()
 Get the rigid body of chipmunk. More...
 
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
 Destructor. More...
 

Static Public Member Functions

static PhysicsBodycreate ()
 Create a body with default mass and moment. More...
 
static PhysicsBodycreate (float mass)
 Create a body with mass and default moment. More...
 
static PhysicsBodycreate (float mass, float moment)
 Create a body with mass and moment. More...
 
static PhysicsBodycreateCircle (float radius, const PhysicsMaterial &material=PHYSICSBODY_MATERIAL_DEFAULT, const Vec2 &offset=Vec2::ZERO)
 Create a body contains a circle. More...
 
static PhysicsBodycreateBox (const Size &size, const PhysicsMaterial &material=PHYSICSBODY_MATERIAL_DEFAULT, const Vec2 &offset=Vec2::ZERO)
 Create a body contains a box shape. More...
 
static PhysicsBodycreatePolygon (const Vec2 *points, int count, const PhysicsMaterial &material=PHYSICSBODY_MATERIAL_DEFAULT, const Vec2 &offset=Vec2::ZERO)
 Create a body contains a polygon shape. More...
 
static PhysicsBodycreateEdgeSegment (const Vec2 &a, const Vec2 &b, const PhysicsMaterial &material=PHYSICSBODY_MATERIAL_DEFAULT, float border=1)
 Create a body contains a EdgeSegment shape. More...
 
static PhysicsBodycreateEdgeBox (const Size &size, const PhysicsMaterial &material=PHYSICSBODY_MATERIAL_DEFAULT, float border=1, const Vec2 &offset=Vec2::ZERO)
 Create a body contains a EdgeBox shape. More...
 
static PhysicsBodycreateEdgePolygon (const Vec2 *points, int count, const PhysicsMaterial &material=PHYSICSBODY_MATERIAL_DEFAULT, float border=1)
 Create a body contains a EdgePolygon shape. More...
 
static PhysicsBodycreateEdgeChain (const Vec2 *points, int count, const PhysicsMaterial &material=PHYSICSBODY_MATERIAL_DEFAULT, float border=1)
 Create a body contains a EdgeChain shape. More...
 

Protected Member Functions

bool init ()
virtual void setPosition (const Vec2 &position)
virtual void setRotation (float rotation)
virtual void setScale (float scaleX, float scaleY)
void update (float delta)
void removeJoint (PhysicsJoint *joint)
void updateDamping ()
 PhysicsBody ()
virtual ~PhysicsBody ()
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 

Protected Attributes

Node_node
std::vector< PhysicsJoint * > _joints
Vector< PhysicsShape * > _shapes
PhysicsWorld_world
cpBody * _cpBody
bool _dynamic
bool _enabled
bool _rotationEnabled
bool _gravityEnabled
bool _massDefault
bool _momentDefault
float _mass
float _area
float _density
float _moment
bool _isDamping
float _linearDamping
float _angularDamping
int _tag
bool _positionInitDirty
Vec2 _recordedPosition
Vec2 _latestPosition
Vec2 _positionOffset
float _rotationOffset
float _recordedRotation
double _recordedAngle
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Friends

class PhysicsWorld
class PhysicsShape
class PhysicsJoint
class Node
class Layer
class ProtectedNode

Detailed Description

A body affect by physics.

It can attach one or more shapes. If you create body with createXXX, it will automatically compute mass and moment with density your specified(which is PHYSICSBODY_MATERIAL_DEFAULT by default, and the density value is 0.1f), and it based on the formular: mass = density * area. If you create body with createEdgeXXX, the mass and moment will be PHYSICS_INFINITY by default. And it's a static body. You can change mass and moment with setMass() and setMoment(). And you can change the body to be dynamic or static by use function setDynamic().

Constructor & Destructor Documentation

PhysicsBody ( )
protected
virtual ~PhysicsBody ( )
protectedvirtual

Member Function Documentation

void addMass ( float  mass)

Add mass to body.

Parameters
massIf _mass(mass of the body) == PHYSICS_INFINITY, it remains. if mass == PHYSICS_INFINITY, _mass will be PHYSICS_INFINITY. if mass == -PHYSICS_INFINITY, _mass will not change. if mass + _mass <= 0, _mass will equal to MASS_DEFAULT(1.0) other wise, mass = mass + _mass;
void addMoment ( float  moment)

Add moment of inertia to body.

Parameters
momentIf _moment(moment of the body) == PHYSICS_INFINITY, it remains. if moment == PHYSICS_INFINITY, _moment will be PHYSICS_INFINITY. if moment == -PHYSICS_INFINITY, _moment will not change. if moment + _moment <= 0, _moment will equal to MASS_DEFAULT(1.0) other wise, moment = moment + _moment;
virtual PhysicsShape* addShape ( PhysicsShape shape,
bool  addMassAndMoment = true 
)
virtual

Add a shape to body.

Parameters
shapeThe shape to be added.
addMassAndMomentIf this is true, the shape's mass and moment will be added to body. The default is true.
Returns
This shape's pointer if added success or nullptr if failed.
virtual void applyForce ( const Vect force)
virtual

Applies a continuous force to body.

Parameters
forceThe force is applies to this body.
virtual void applyForce ( const Vect force,
const Vec2 offset 
)
virtual

Applies a continuous force to body.

Parameters
forceThe force is applies to this body.
offsetA Vec2 object, it is the offset from the body’s center of gravity in world coordinates.
virtual void applyImpulse ( const Vect impulse)
virtual

Applies a immediate force to body.

Parameters
impulseThe impulse is applies to this body.
virtual void applyImpulse ( const Vect impulse,
const Vec2 offset 
)
virtual

Applies a immediate force to body.

Parameters
impulseThe impulse is applies to this body.
offsetA Vec2 object, it is the offset from the body’s center of gravity in world coordinates.
virtual void applyTorque ( float  torque)
virtual

Applies a torque force to body.

Parameters
torqueThe torque is applies to this body.
static PhysicsBody* create ( )
static

Create a body with default mass and moment.

This default mass value is 1.0. This default moment value is 200.

Returns
An autoreleased PhysicsBody object pointer.
static PhysicsBody* create ( float  mass)
static

Create a body with mass and default moment.

Parameters
massThis body's mass.
Returns
An autoreleased PhysicsBody object pointer.
static PhysicsBody* create ( float  mass,
float  moment 
)
static

Create a body with mass and moment.

Parameters
massThis body's mass.
momentThis body's moment.
Returns
An autoreleased PhysicsBody object pointer.
static PhysicsBody* createBox ( const Size size,
const PhysicsMaterial material = PHYSICSBODY_MATERIAL_DEFAULT,
const Vec2 offset = Vec2::ZERO 
)
static

Create a body contains a box shape.

Parameters
sizeSize contains this box's width and height.
materialA PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
offsetA Vec2 object, it is the offset from the body’s center of gravity in body local coordinates.
Returns
An autoreleased PhysicsBody object pointer.
static PhysicsBody* createCircle ( float  radius,
const PhysicsMaterial material = PHYSICSBODY_MATERIAL_DEFAULT,
const Vec2 offset = Vec2::ZERO 
)
static

Create a body contains a circle.

Parameters
radiusA float number, it is the circle's radius.
materialA PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
offsetA Vec2 object, it is the offset from the body’s center of gravity in body local coordinates.
Returns
An autoreleased PhysicsBody object pointer.
static PhysicsBody* createEdgeBox ( const Size size,
const PhysicsMaterial material = PHYSICSBODY_MATERIAL_DEFAULT,
float  border = 1,
const Vec2 offset = Vec2::ZERO 
)
static

Create a body contains a EdgeBox shape.

Parameters
sizeSize contains this box's width and height.
materialA PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
borderIt's a edge's border width.
offsetA Vec2 object, it is the offset from the body’s center of gravity in body local coordinates.
Returns
An autoreleased PhysicsBody object pointer.
static PhysicsBody* createEdgeChain ( const Vec2 points,
int  count,
const PhysicsMaterial material = PHYSICSBODY_MATERIAL_DEFAULT,
float  border = 1 
)
static

Create a body contains a EdgeChain shape.

Parameters
pointsA Vec2 object pointer, it contains an array of points.
countAn interger number, contains the count of the points array.
materialA PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
borderIt's a edge's border width.
Returns
An autoreleased PhysicsBody object pointer.
static PhysicsBody*
createEdgePolygon
( const Vec2 points,
int  count,
const PhysicsMaterial material = PHYSICSBODY_MATERIAL_DEFAULT,
float  border = 1 
)
static

Create a body contains a EdgePolygon shape.

Parameters
pointsPoints is an array of Vec2 structs defining a convex hull with a clockwise winding.
countAn interger number, contains the count of the points array.
materialA PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
borderIt's a edge's border width.
Returns
An autoreleased PhysicsBody object pointer.
static PhysicsBody*
createEdgeSegment
( const Vec2 a,
const Vec2 b,
const PhysicsMaterial material = PHYSICSBODY_MATERIAL_DEFAULT,
float  border = 1 
)
static

Create a body contains a EdgeSegment shape.

Parameters
aIt's the edge's begin position.
bIt's the edge's end position.
materialA PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
borderIt's a edge's border width.
Returns
An autoreleased PhysicsBody object pointer.
static PhysicsBody* createPolygon ( const Vec2 points,
int  count,
const PhysicsMaterial material = PHYSICSBODY_MATERIAL_DEFAULT,
const Vec2 offset = Vec2::ZERO 
)
static

Create a body contains a polygon shape.

Parameters
pointsPoints is an array of Vec2 structs defining a convex hull with a clockwise winding.
countAn interger number, contains the count of the points array.
materialA PhysicsMaterial object, the default value is PHYSICSSHAPE_MATERIAL_DEFAULT.
offsetA Vec2 object, it is the offset from the body’s center of gravity in body local coordinates.
Returns
An autoreleased PhysicsBody object pointer.
float getAngularDamping ( ) const
inline

Get angular damping.

virtual float getAngularVelocity ( )
virtual

get the angular velocity of a body

virtual float
getAngularVelocityLimit
( )
virtual

get the max of angular velocity

int getCategoryBitmask ( ) const

Return bitmask of first shape.

Returns
If there is no shape in body, return default value.(0xFFFFFFFF)
int getCollisionBitmask ( ) const

Return bitmask of first shape.

Returns
If there is no shape in body, return default value.(0xFFFFFFFF)
int getContactTestBitmask ( ) const

Return bitmask of first shape.

Returns
If there is no shape in body, return default value.(0x00000000)
cpBody* getCPBody ( )
inline

Get the rigid body of chipmunk.

PhysicsShape* getFirstShape ( ) const
inline

Get the first shape of the body shapes.

Returns
The first shape in this body.
int getGroup ( ) const

Return group of first shape.

Returns
If there is no shape in body, return default value.(0)
const std::vector<PhysicsJoint*>
& getJoints
( ) const
inline

get all joints the body have

float getLinearDamping ( ) const
inline

get linear damping.

float getMass ( ) const
inline

Get the body mass.

float getMoment ( ) const
inline

Get the body moment of inertia.

Node* getNode ( ) const
inline

get the sprite the body set to.

const Vec2& getPosition ( )

get the body position.

const Vec2& getPositionOffset ( ) const
inline

get body position offset.

float getRotation ( )

get the body rotation.

float getRotationOffset ( ) const
inline

set the body rotation offset

PhysicsShape* getShape ( int  tag) const

get the shape of the body.

Parameters
tagAn interger number that identifies a PhysicsShape object.
Returns
A PhysicsShape object pointer or nullptr if no shapes were found.
const Vector<PhysicsShape*>
& getShapes
( ) const
inline

Get the body shapes.

Returns
A Vector<PhysicsShape*> object contains PhysicsShape pointer.
int getTag ( ) const
inline

Get the body's tag.

virtual Vec2 getVelocity ( )
virtual

Get the velocity of a body.

virtual Vec2
getVelocityAtLocalPoint
( const Vec2 point)
virtual

Get the angular velocity of a body at a local point.

virtual Vec2
getVelocityAtWorldPoint
( const Vec2 point)
virtual

get the angular velocity of a body at a world point

virtual float getVelocityLimit ( )
virtual

get the max of velocity

PhysicsWorld* getWorld ( ) const
inline

get the world body added to.

bool init ( )
protected
bool isDynamic ( ) const
inline

Test the body is dynamic or not.

A dynamic body will effect with gravity.

bool isEnabled ( ) const
inline

Whether the body is enabled.

If the body it isn't enabled, it will not has simulation by world.

bool isGravityEnabled ( ) const
inline

Whether this physics body is affected by the physics world’s gravitational force.

bool isResting ( ) const

Whether the body is at rest.

bool isRotationEnabled ( ) const
inline

Whether the body can rotation.

Vec2 local2World ( const Vec2 point)

Convert the local point to world.

void removeAllShapes ( bool  reduceMassAndMoment = true)

Remove all shapes.

Parameters
reduceMassAndMomentIf this is true, the body mass and moment will be reduced by shape. The default is true.
void removeFromWorld ( )

remove the body from the world it added to

void removeJoint ( PhysicsJoint joint)
protected
void removeShape ( PhysicsShape shape,
bool  reduceMassAndMoment = true 
)

Remove a shape from body.

Parameters
shapeShape the shape to be removed.
reduceMassAndMomentIf this is true, the body mass and moment will be reduced by shape. The default is true.
void removeShape ( int  tag,
bool  reduceMassAndMoment = true 
)

Remove a shape from body.

Parameters
tagThe tag of the shape to be removed.
reduceMassAndMomentIf this is true, the body mass and moment will be reduced by shape. The default is true.
virtual void resetForces ( )
virtual

reset all the force applied to body.

void setAngularDamping ( float  damping)
inline

Set angular damping.

It is used to simulate fluid or air friction forces on the body.

Parameters
dampingThe value is 0.0f to 1.0f.
virtual void setAngularVelocity ( float  velocity)
virtual

Set the angular velocity of a body.

Parameters
velocityThe angular velocity is set to this body.
virtual void
setAngularVelocityLimit
( float  limit)
virtual

set the max of angular velocity

void setCategoryBitmask ( int  bitmask)

A mask that defines which categories this physics body belongs to.

Every physics body in a scene can be assigned to up to 32 different categories, each corresponding to a bit in the bit mask. You define the mask values used in your game. In conjunction with the collisionBitMask and contactTestBitMask properties, you define which physics bodies interact with each other and when your game is notified of these interactions.

Parameters
bitmaskAn interger number, the default value is 0xFFFFFFFF (all bits set).
void setCollisionBitmask ( int  bitmask)

A mask that defines which categories of physics bodies can collide with this physics body.

When two physics bodies contact each other, a collision may occur. This body’s collision mask is compared to the other body’s category mask by performing a logical AND operation. If the result is a non-zero value, then this body is affected by the collision. Each body independently chooses whether it wants to be affected by the other body. For example, you might use this to avoid collision calculations that would make negligible changes to a body’s velocity.

Parameters
bitmaskAn interger number, the default value is 0xFFFFFFFF (all bits set).
void setContactTestBitmask ( int  bitmask)

A mask that defines which categories of bodies cause intersection notifications with this physics body.

When two bodies share the same space, each body’s category mask is tested against the other body’s contact mask by performing a logical AND operation. If either comparison results in a non-zero value, an PhysicsContact object is created and passed to the physics world’s delegate. For best performance, only set bits in the contacts mask for interactions you are interested in.

Parameters
bitmaskAn interger number, the default value is 0x00000000 (all bits cleared).
void setDynamic ( bool  dynamic)

Set dynamic to body.

A dynamic body will effect with gravity.

void setEnable ( bool  enable)

Set the enable value.

If the body it isn't enabled, it will not has simulation by world.

void setGravityEnable ( bool  enable)

Set the body is affected by the physics world's gravitational force or not.

void setGroup ( int  group)

Set the group of body.

Collision groups let you specify an integral group index. You can have all fixtures with the same group index always collide (positive index) or never collide (negative index). It have high priority than bit masks.

void setLinearDamping ( float  damping)
inline

Set linear damping.

it is used to simulate fluid or air friction forces on the body.

Parameters
dampingThe value is 0.0f to 1.0f.
void setMass ( float  mass)

Set the body mass.

If you need add/subtract mass to body, don't use setMass(getMass() +/- mass), because the mass of body may be equal to PHYSICS_INFINITY, it will cause some unexpected result, please use addMass() instead.

void setMoment ( float  moment)

Set the body moment of inertia.

Note
If you need add/subtract moment to body, don't use setMoment(getMoment() +/- moment), because the moment of body may be equal to PHYSICS_INFINITY, it will cause some unexpected result, please use addMoment() instead.
virtual void setPosition ( const Vec2 position)
protectedvirtual
void setPositionOffset ( const Vec2 position)

set body position offset, it's the position witch relative to node

void setResting ( bool  rest) const

set body to rest

virtual void setRotation ( float  rotation)
protectedvirtual
void setRotationEnable ( bool  enable)

Set the body is allow rotation or not.

void setRotationOffset ( float  rotation)

set body rotation offset, it's the rotation witch relative to node

virtual void setScale ( float  scaleX,
float  scaleY 
)
protectedvirtual
void setTag ( int  tag)
inline

set the body's tag.

virtual void setVelocity ( const Vect velocity)
virtual

Set the velocity of a body.

Parameters
velocityThe velocity is set to this body.
virtual void setVelocityLimit ( float  limit)
virtual

set the max of velocity

void update ( float  delta)
protected
void updateDamping ( )
inlineprotected
Vec2 world2Local ( const Vec2 point)

Convert the world point to local.

Friends And Related Function Documentation

friend class Layer
friend
friend class Node
friend
friend class PhysicsJoint
friend
friend class PhysicsShape
friend
friend class PhysicsWorld
friend
friend class ProtectedNode
friend

Member Data Documentation

float _angularDamping
protected
float _area
protected
cpBody* _cpBody
protected
float _density
protected
bool _dynamic
protected
bool _enabled
protected
bool _gravityEnabled
protected
bool _isDamping
protected
std::vector<PhysicsJoint*> _joints
protected
Vec2 _latestPosition
protected
float _linearDamping
protected
float _mass
protected
bool _massDefault
protected
float _moment
protected
bool _momentDefault
protected
Node* _node
protected
bool _positionInitDirty
protected
Vec2 _positionOffset
protected
double _recordedAngle
protected
Vec2 _recordedPosition
protected
float _recordedRotation
protected
bool _rotationEnabled
protected
float _rotationOffset
protected
Vector<PhysicsShape*> _shapes
protected
int _tag
protected
PhysicsWorld* _world
protected

The documentation for this class was generated from the following file: