mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Scripting WIP
This commit is contained in:
@@ -76,6 +76,9 @@ public:
|
||||
// continuous: if true, object does not stop immediately at pos
|
||||
virtual void moveTo(v3f pos, bool continuous)
|
||||
{ setBasePosition(pos); }
|
||||
// If object has moved less than this and data has not changed,
|
||||
// saving to disk may be omitted
|
||||
virtual float getMinimumSavedMovement(){ return 2.0*BS; }
|
||||
|
||||
/*
|
||||
Step object in time.
|
||||
|
Reference in New Issue
Block a user