mirror of
https://github.com/minetest/minetest.git
synced 2024-08-18 20:44:16 +02:00
Documentation: More precise description of ObjectRef:remove()
This commit is contained in:
parent
2bb7d3aa99
commit
217f3a42f4
@ -5778,7 +5778,10 @@ This is basically a reference to a C++ `ServerActiveObject`
|
||||
|
||||
#### Lua entity only (no-op for other objects)
|
||||
|
||||
* `remove()`: remove object (after returning from Lua)
|
||||
* `remove()`: remove object
|
||||
* The object is removed after returning from Lua. However the `ObjectRef`
|
||||
itself instantly becomes unusable with all further method calls having
|
||||
no effect and returning `nil`.
|
||||
* `set_velocity(vel)`
|
||||
* `vel` is a vector, e.g. `{x=0.0, y=2.3, z=1.0}`
|
||||
* `add_velocity(vel)`
|
||||
|
Loading…
Reference in New Issue
Block a user