Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::behaviours::SmoothFollow Class Reference
Inheritance diagram for smlt::behaviours::SmoothFollow:
smlt::behaviours::StageNodeBehaviour smlt::RefCounted< SmoothFollow > smlt::Behaviour smlt::TwoPhaseConstructed smlt::Updateable

Public Member Functions

const char * name () const override
void late_update (float dt) override
void set_target (ActorPtr actor)
void set_target (ParticleSystemPtr ps)
bool has_target () const
StageNodetarget () const
void set_follow_distance (float dist)
void set_follow_height (float height)
void set_damping (float damping)
void set_rotation_damping (float damping)
void set_following_enabled (bool v)
- Public Member Functions inherited from smlt::Behaviour
void enable ()
void disable ()
void _update_thunk (float dt) override
void _late_update_thunk (float dt) override
void _fixed_update_thunk (float step) override
bool attached () const
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
virtual void clean_up ()

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< SmoothFollow >
typedef std::shared_ptr< SmoothFollow > ptr
typedef std::weak_ptr< SmoothFollow > wptr
- Static Public Member Functions inherited from smlt::RefCounted< SmoothFollow >
static RefCounted< SmoothFollow >::ptr create (Args &&... args)
static RefCounted< SmoothFollow >::ptr create ()
- Public Attributes inherited from smlt::behaviours::StageNodeBehaviour
Property< decltype(&StageNodeBehaviour::stage_node_)> stage_node = { this, &StageNodeBehaviour::stage_node_ }
- Public Attributes inherited from smlt::Behaviour
Property< Organism *Behaviour::* > organism
- Protected Member Functions inherited from smlt::behaviours::StageNodeBehaviour
void on_behaviour_added (Organism *controllable) override
void on_behaviour_removed (Organism *controllable) override
- Protected Member Functions inherited from smlt::RefCounted< SmoothFollow >
 RefCounted (Args &&...)

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