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

exposes a getActivationState method (we previously had no way of checking if the physics engine it's self internally forced the object offline, as it were due to slowing down to negligible motion, for instance)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Engine/branches/0185_GEN_PHYSICS_REFACTOR_2/Physics/I_PhysicsActor.hpp

    r3346 r3348  
    158158    //force the physics engine to once more pay attention to a given object or force it to ignore it 
    159159    virtual void setActivationState(unsigned _state) = 0; 
     160    //gets wether or not the engine consideres this object beneath it's notice for motion 
     161    virtual int getActivationState() = 0; 
    160162 
    161163    /// @todo Use I_PhysicsGroup& instead of int.