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