View Full Version : Particle system problem
11-12-2002, 03:02 AM
In my particle system that I made, I added rotation of the emitter. The emitter rotates correctly, but the gravity isn't correct. For example, at rotation Vec3(0,0,0) (normal) the gravity pulls the particles down the Y axis, correct. But when I rotate the emitter, lets say 45 degrees on the Z axis, the gravity isn't pulling them to the Y axis anymore, but Z and Y axis. Any ideas how to fix this?
11-12-2002, 04:48 AM
it sounds like when you rotate your emitter, you're rotating your entire coordinate system. try pushing and popping the matrix around that rotate call.
11-12-2002, 06:23 AM
Nevermind, I changed my system according to the Particle Simulator program, it works great now!
But, yes, your solution was part of the whole. Thanks
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.