1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-24 21:35:21 +02:00

Add ObjectRef:getvelocity(), ObjectRef:setyaw() and ObjectRef:getyaw()

This commit is contained in:
Perttu Ahola
2012-01-02 16:19:52 +02:00
parent 2445cbbbdc
commit 56f55ab1af
4 changed files with 61 additions and 0 deletions

View File

@@ -213,8 +213,11 @@ public:
float getMinimumSavedMovement();
/* LuaEntitySAO-specific */
void setVelocity(v3f velocity);
v3f getVelocity();
void setAcceleration(v3f acceleration);
v3f getAcceleration();
void setYaw(float yaw);
float getYaw();
void setTextureMod(const std::string &mod);
void setSprite(v2s16 p, int num_frames, float framelength,
bool select_horiz_by_yawpitch);