mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-24 05:15:22 +02:00
Particles: Make attached particle spawners respect the parent's yaw
Position, velocity and acceleration vectors of particles are rotated by the yaw of the parent object so that they are truly relative to it. Clarify new attached particle spawner behavior in lua_api.txt.
This commit is contained in:
@@ -136,6 +136,10 @@ public:
|
||||
aabb3f *getSelectionBox();
|
||||
|
||||
v3f getPosition();
|
||||
inline float getYaw() const
|
||||
{
|
||||
return m_yaw;
|
||||
}
|
||||
|
||||
scene::ISceneNode *getSceneNode();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user