|
| Settings (BodyTypes type, float radius, float mass) |
| Creates a physical Settings object with the given type, radius and mass.
|
|
| Settings (const XMLNode &xml_node) |
| Reads the physical settings values from a given XML node.
|
|
◆ m_angular_damping
float PhysicalObject::Settings::m_angular_damping |
Bullet's angular damping factor.
◆ m_angular_factor
Vec3 PhysicalObject::Settings::m_angular_factor |
◆ m_body_type
◆ m_flatten_kart
bool PhysicalObject::Settings::m_flatten_kart |
Flatten the kart when this object is touched.
◆ m_friction
float PhysicalObject::Settings::m_friction |
Friction for this object.
◆ m_height
float PhysicalObject::Settings::m_height |
Height of an object, to overwrite the graphical dimension.
◆ m_id
std::string PhysicalObject::Settings::m_id |
◆ m_knock_kart
bool PhysicalObject::Settings::m_knock_kart |
◆ m_linear_damping
float PhysicalObject::Settings::m_linear_damping |
Bullet's linear damping factor.
◆ m_linear_factor
Vec3 PhysicalObject::Settings::m_linear_factor |
◆ m_mass
float PhysicalObject::Settings::m_mass |
◆ m_radius
float PhysicalObject::Settings::m_radius |
Radius of the object, to overwrite the graphical dimension.
◆ m_reset_height
float PhysicalObject::Settings::m_reset_height |
If the item is below that height, it is reset (when m_reset_when_too_low is true).
◆ m_reset_when_too_low
bool PhysicalObject::Settings::m_reset_when_too_low |
Reset the object when it falls under the track (useful e.g.
for a boulder rolling down a hill).
◆ m_restitution
float PhysicalObject::Settings::m_restitution |
Restitution of the physical object.
The documentation for this class was generated from the following files: