Game Development Community

changing flipX on particle emission angle[solved]

by Raymond Ku · in Torque X 2D · 05/25/2010 (1:09 pm) · 5 replies

Hi everyone,

just a quick question about particleeffects.

I have a particle effect that shoots out particles in a certain direction (for example straight left).
I have this effect mounted to my sceneobject.
When I flip the sceneobject i flip the particle effect as well in attempt to shoot the particles straight right.

This does not work.
Is there a way to flip the particle effect or do i need to create a new one for a different direction or edit the emission angle in code?

Thanks
Ray

#1
05/25/2010 (5:54 pm)
Rotate the particle effect 180, I think that will work.
#2
05/25/2010 (10:24 pm)
ah thanks i had tried that, but i had the particleeffect mounted to an object i dont want to rotate. So i think the the particle effect inherited the rotation from its mount. Perhaps i should turn owned by mount off.


Thanks
#3
05/26/2010 (9:37 am)
I there is property called "inherit mount flip?", did you try setting that to true?
#4
05/26/2010 (1:58 pm)
i thought at first that would work at first too, but i think for particle emitters it mighht work differently. AFter flipping it in code didnt work i tried to flip it in the torque Editor. Flip doesnt seem to affect Particle SceneObjects, but Rotation does.

As of now, i actually have two particles objects for each object, but i will try rotating the particle emitter without it being owned by mount to see if that works
#5
05/26/2010 (4:49 pm)
I admire your dedication.