Thrive
Public Attributes | List of all members
thrive::RigidBodyComponent::DynamicProperties Struct Reference

Dynamic properties (those the physics engine changes) More...

#include <rigid_body_system.h>

Inheritance diagram for thrive::RigidBodyComponent::DynamicProperties:
thrive::Touchable

Public Attributes

Ogre::Vector3 position {0,0,0}
 The position.
 
Ogre::Quaternion rotation = Ogre::Quaternion::IDENTITY
 The rotation.
 
Ogre::Vector3 linearVelocity {0,0,0}
 The linear velocity. More...
 
Ogre::Vector3 angularVelocity {0,0,0}
 The angular velocity. More...
 

Additional Inherited Members

- Public Member Functions inherited from thrive::Touchable
bool hasChanges () const
 Whether this Touchable has unapplied changes.
 
void touch ()
 Marks the Touchable as changed.
 
void untouch ()
 Marks all changes as applied.
 
- Static Public Member Functions inherited from thrive::Touchable
static luabind::scope luaBindings ()
 Lua bindings. More...
 

Detailed Description

Dynamic properties (those the physics engine changes)

Member Data Documentation

Ogre::Vector3 thrive::RigidBodyComponent::DynamicProperties::angularVelocity {0,0,0}

The angular velocity.

Makes the rigid body spin .

Ogre::Vector3 thrive::RigidBodyComponent::DynamicProperties::linearVelocity {0,0,0}

The linear velocity.

Makes the rigid body move .


The documentation for this struct was generated from the following file: