Show
Ignore:
Timestamp:
02/01/10 14:17:05 (6 months ago)
Author:
Azaezel
Message:

removed bullets TransformCallback? method for the CollisionShape?, instead using an overloaded btMotionState for the PhysicsActor?. as these are callbacks which call behaviors referencing instances, the net effect is the same, though admittedly somewhat hairy to read over. perhaps there's a cleaner method available we can implement later

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/branches/0185_GEN_PHYSICS_REFACTOR_2/ZNewton/src/PhysicsActor.cpp

    r3347 r3349  
    643643 
    644644//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     645int 
     646PhysicsActor::getActivationState() 
     647{ 
     648    m_activationState = NewtonBodyGetSleepingState(m_pActor); 
     649    return m_activationState; 
     650} 
     651 
     652 
     653//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    645654}   // namespace ZNewton 
    646655}   // namespace Zen