CCPhysicsBodyType Constants Reference
| Declared in | CCPhysicsBody.h |
CCPhysicsBodyType
The type of physics body to use.
Definition
typedef NS_ENUM(NSUInteger, CCPhysicsBodyType ) {
CCPhysicsBodyTypeDynamic,
CCPhysicsBodyTypeKinematic,
CCPhysicsBodyTypeStatic,
};
Constants
CCPhysicsBodyTypeDynamic-
A regular rigid body that is affected by gravity, forces and collisions.
Declared In
CCPhysicsBody.h. CCPhysicsBodyTypeKinematic-
The type of physics body to use.
Declared In
CCPhysicsBody.h. CCPhysicsBodyTypeStatic-
A body that is immovable such as a wall or the ground.
Declared In
CCPhysicsBody.h.
Declared In
CCPhysicsBody.h