cocos2d-x
3.3
|
#include <CCPhysicsShape.h>
Public Member Functions | |
PhysicsMaterial () | |
PhysicsMaterial (float aDensity, float aRestitution, float aFriction) | |
Public Attributes | |
float | density |
The density of the object. More... | |
float | restitution |
The bounciness of the physics body. More... | |
float | friction |
The roughness of the surface of a shape. More... | |
|
inline |
|
inline |
float density |
The density of the object.
float friction |
The roughness of the surface of a shape.
float restitution |
The bounciness of the physics body.