diff options
Diffstat (limited to 'src/content_sao.h')
-rw-r--r-- | src/content_sao.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h index cd7474960..04d33647e 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -216,6 +216,8 @@ public: void setPos(v3f pos); void moveTo(v3f pos, bool continuous); float getMinimumSavedMovement(); + void setVelocity(v3f velocity); + void setAcceleration(v3f acceleration); private: void sendPosition(bool do_interpolate, bool is_movement_end); @@ -224,6 +226,8 @@ private: bool m_registered; struct LuaEntityProperties *m_prop; + v3f m_velocity; + v3f m_acceleration; float m_yaw; float m_last_sent_yaw; v3f m_last_sent_position; |