Flint Particle System Forum - Rotating an emitter2011-12-12T00:48:42+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Rotating an emitterhttp://flintparticles.org/forum/comments.php?DiscussionID=420&Focus=1442#Comment_14422010-11-26T20:26:48+00:002011-12-12T00:48:42+00:00Kreenderhttp://flintparticles.org/forum/account.php?u=433
When I do:
emitter.rotation = 45;
I have no idea around what point is that emitter rotating, I thought that it was around the origin of the particles, but that does not seem to be the case. I wanna ...
emitter.rotation = 45; I have no idea around what point is that emitter rotating, I thought that it was around the origin of the particles, but that does not seem to be the case. I wanna make like a rocket fire but when I try to rotate the emitter I get weird results. Any ideas?.]]>
Rotating an emitterhttp://flintparticles.org/forum/comments.php?DiscussionID=420&Focus=1443#Comment_14432010-11-26T21:14:06+00:002011-12-12T00:48:42+00:00Kreenderhttp://flintparticles.org/forum/account.php?u=433
The same if I rotate the renderer, I don't understand around what is it rotating.
Rotating an emitterhttp://flintparticles.org/forum/comments.php?DiscussionID=420&Focus=1444#Comment_14442010-11-30T19:28:20+00:002011-12-12T00:48:42+00:00Kreenderhttp://flintparticles.org/forum/account.php?u=433
To answer myself, the rotation was weird because I didn't assign a position to the renderer, so it was rotating at a default 0, 0 after assigning a starting position to the renderer this issue was ...
Rotating an emitterhttp://flintparticles.org/forum/comments.php?DiscussionID=420&Focus=1447#Comment_14472010-12-02T07:49:24+00:002011-12-12T00:48:42+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
Sorry I wasn't around to help. I'm glad you got it sorted.
When you rotate the renderer, you rotate the entire image. The renderer is just a Sprite so its rotation behaves just like any other ...
When you rotate the renderer, you rotate the entire image. The renderer is just a Sprite so its rotation behaves just like any other Sprite.
When you rotate the emitter, you rotate just the emitter but don't affect any existing particles or other emitters.