mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +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:
@@ -313,7 +313,8 @@ public:
|
||||
{return &m_selection_box;}
|
||||
v3f getPosition()
|
||||
{return m_position;}
|
||||
|
||||
inline float getYaw() const
|
||||
{return 0;}
|
||||
std::string infoText()
|
||||
{return m_infotext;}
|
||||
|
||||
|
Reference in New Issue
Block a user