1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-19 19:25:18 +02:00

Clarify set_yaw() behaviour in documentation

This commit is contained in:
Thomas--S
2025-10-17 00:17:52 +02:00
committed by GitHub
parent d834c45d1c
commit 6b0e1e9b67

View File

@@ -8651,7 +8651,9 @@ child will follow movement and rotation of that bone.
* Does not reset rotation incurred through `automatic_rotate`.
Remove & re-add your objects to force a certain rotation.
* `get_rotation()`: returns the rotation, a vector (radians)
* `set_yaw(yaw)`: sets the yaw in radians (heading).
* `set_yaw(yaw)`
* Sets the yaw in radians (heading).
* Also resets pitch and roll to 0.
* `get_yaw()`: returns number in radians
* `set_texture_mod(mod)`
* Set a texture modifier to the base texture, for sprites and meshes.