UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::action::mode3d::component::PhysicsBody::PhysicsData Struct Reference

#include <ugdk/action/3D/component/physicsbody.h>

Public Member Functions

 PhysicsData ()
 

Public Attributes

double mass
 
short collision_group
 
short collides_with
 
btCollisionShape * shape
 
btTransform initial
 
btTransform offset
 
bool apply_orientation
 

Constructor & Destructor Documentation

ugdk::action::mode3d::component::PhysicsBody::PhysicsData::PhysicsData ( )

Member Data Documentation

bool ugdk::action::mode3d::component::PhysicsBody::PhysicsData::apply_orientation

wheter orientation is applied to Ogre's node or not

short ugdk::action::mode3d::component::PhysicsBody::PhysicsData::collides_with

flags (combination of flags - |'ed) of groups this object collides with

short ugdk::action::mode3d::component::PhysicsBody::PhysicsData::collision_group

flag (power of 2 bit mask) of the collision group this object belongs to

btTransform ugdk::action::mode3d::component::PhysicsBody::PhysicsData::initial

initial position and orientation of the object

double ugdk::action::mode3d::component::PhysicsBody::PhysicsData::mass

rigid body mass (must be >= 0, and 0 means static "infinite mass" object)

btTransform ugdk::action::mode3d::component::PhysicsBody::PhysicsData::offset

offset to center of mass

btCollisionShape* ugdk::action::mode3d::component::PhysicsBody::PhysicsData::shape

collision shape of this object


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