Added ParticleSystem:setRelativeRotation. If enabled, particle rotations and angles will be relative to their current velocities.

This commit is contained in:
Alex Szpakowski
2014-02-06 05:46:47 -04:00
parent 4edebe1789
commit 615492540d
4 changed files with 77 additions and 28 deletions
@@ -77,6 +77,8 @@ int w_ParticleSystem_setColors(lua_State *L);
int w_ParticleSystem_getColors(lua_State *L);
int w_ParticleSystem_setOffset(lua_State *L);
int w_ParticleSystem_getOffset(lua_State *L);
int w_ParticleSystem_setRelativeRotation(lua_State *L);
int w_ParticleSystem_hasRelativeRotation(lua_State *L);
int w_ParticleSystem_getCount(lua_State *L);
int w_ParticleSystem_start(lua_State *L);
int w_ParticleSystem_stop(lua_State *L);