mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
Scripting WIP
This commit is contained in:
parent
38944467d3
commit
75a0ca6bd6
14 changed files with 148 additions and 15 deletions
|
@ -1656,6 +1656,11 @@ void LuaEntitySAO::moveTo(v3f pos, bool continuous)
|
|||
sendPosition(true, true);
|
||||
}
|
||||
|
||||
float LuaEntitySAO::getMinimumSavedMovement()
|
||||
{
|
||||
return 0.1 * BS;
|
||||
}
|
||||
|
||||
void LuaEntitySAO::sendPosition(bool do_interpolate, bool is_movement_end)
|
||||
{
|
||||
m_last_sent_move_precision = m_base_position.getDistanceFrom(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue