Tramway SDK
Public Member Functions | Protected Attributes | List of all members
tram::Physics::EntMotionState Class Reference

#include <motionstates.h>

Inheritance diagram for tram::Physics::EntMotionState:

Public Member Functions

 EntMotionState (Entity *ent, vec3 &offset)
 
virtual ~EntMotionState ()
 
void SetEntity (Entity *ent)
 
virtual void getWorldTransform (btTransform &worldTrans) const
 
virtual void setWorldTransform (const btTransform &worldTrans)
 

Protected Attributes

Entityentity = nullptr
 
vec3 troffse
 

Constructor & Destructor Documentation

◆ EntMotionState()

tram::Physics::EntMotionState::EntMotionState ( Entity ent,
vec3 offset 
)
inline

◆ ~EntMotionState()

virtual tram::Physics::EntMotionState::~EntMotionState ( )
inlinevirtual

Member Function Documentation

◆ getWorldTransform()

virtual void tram::Physics::EntMotionState::getWorldTransform ( btTransform &  worldTrans) const
inlinevirtual

◆ SetEntity()

void tram::Physics::EntMotionState::SetEntity ( Entity ent)
inline

◆ setWorldTransform()

virtual void tram::Physics::EntMotionState::setWorldTransform ( const btTransform &  worldTrans)
inlinevirtual

Member Data Documentation

◆ entity

Entity* tram::Physics::EntMotionState::entity = nullptr
protected

◆ troffse

vec3 tram::Physics::EntMotionState::troffse
protected

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