Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
Physics 2D

Classes

class  PhysicsBody
 A body affect by physics. More...
 
class  PhysicsContact
 Contact infomation. More...
 
class  PhysicsContactPreSolve
 Presolve value generated when onContactPreSolve called. More...
 
class  PhysicsContactPostSolve
 Postsolve value generated when onContactPostSolve called. More...
 
class  EventListenerPhysicsContact
 Contact listener. More...
 
class  EventListenerPhysicsContactWithBodies
 This event listener only be called when bodyA and bodyB have contacts. More...
 
class  EventListenerPhysicsContactWithShapes
 This event listener only be called when shapeA and shapeB have contacts. More...
 
class  EventListenerPhysicsContactWithGroup
 This event listener only be called when shapeA or shapeB is in the group your specified. More...
 
class  PhysicsHelper
 A physics helper class. More...
 
class  PhysicsJoint
 An PhysicsJoint object connects two physics bodies together. More...
 
class  PhysicsJointFixed
 A fixed joint fuses the two bodies together at a reference point. More...
 
class  PhysicsJointLimit
 A limit joint imposes a maximum distance between the two bodies, as if they were connected by a rope. More...
 
class  PhysicsJointPin
 A pin joint allows the two bodies to independently rotate around the anchor point as if pinned together. More...
 
class  PhysicsJointDistance
 Set the fixed distance with two bodies. More...
 
class  PhysicsJointSpring
 Connecting two physics bodies together with a spring. More...
 
class  PhysicsJointGroove
 Attach body a to a line, and attach body b to a dot. More...
 
class  PhysicsJointRotarySpring
 Likes a spring joint, but works with rotary. More...
 
class  PhysicsJointRotaryLimit
 Likes a limit joint, but works with rotary. More...
 
class  PhysicsJointRatchet
 Works like a socket wrench. More...
 
class  PhysicsJointGear
 Keeps the angular velocity ratio of a pair of bodies constant. More...
 
class  PhysicsJointMotor
 Keeps the relative angular velocity of a pair of bodies constant. More...
 
class  PhysicsShape
 A shape for body, you can view PhysicsBody to see how to create it. More...
 
class  PhysicsShapeCircle
 A circle shape. More...
 
class  PhysicsShapePolygon
 A polygon shape. More...
 
class  PhysicsShapeBox
 A box shape. More...
 
class  PhysicsShapeEdgeSegment
 A segment shape. More...
 
class  PhysicsShapeEdgePolygon
 An edge polygon shape. More...
 
class  PhysicsShapeEdgeBox
 An edge box shape. More...
 
class  PhysicsShapeEdgeChain
 A chain shape. More...
 
class  PhysicsWorld
 An PhysicsWorld object simulates collisions and other physical properties. More...
 
class  PhysicsDebugDraw
 A physics helper class. More...
 

Detailed Description