aiming
07-14-2008, 01:18 PM
Hey all,
I'm building a space scene right now. It's a POV flight through a asteroid field. I realized it over a Particle field, the instancer and a little PP Array Attribute.
Under Creation it's:
Asteroiden_GroßShape.RandomSpinPPBIG = rand(-1,1);
under runtime before dynamics it's:
float $spin = Asteroiden_GroßShape.RandomSpinPPBIG;
Asteroiden_GroßShape.BigAsteroidRotation += 0.6*$spin;
The asteroids are now spinning randomly in all 3 possible spinning directions. The result is a really strange rotation movement. It looks like a force is changing the rotation direction from time to time. In space as far as I know such a force doesn't exist, so i want to get rid of it. ;)
I'm new to Maya Dynamics and don't really know how to get the asteroids spinning in one or two directions only.
Hope my english is good enough to make you understand what's my problem. :)
greetz
Ben
I'm building a space scene right now. It's a POV flight through a asteroid field. I realized it over a Particle field, the instancer and a little PP Array Attribute.
Under Creation it's:
Asteroiden_GroßShape.RandomSpinPPBIG = rand(-1,1);
under runtime before dynamics it's:
float $spin = Asteroiden_GroßShape.RandomSpinPPBIG;
Asteroiden_GroßShape.BigAsteroidRotation += 0.6*$spin;
The asteroids are now spinning randomly in all 3 possible spinning directions. The result is a really strange rotation movement. It looks like a force is changing the rotation direction from time to time. In space as far as I know such a force doesn't exist, so i want to get rid of it. ;)
I'm new to Maya Dynamics and don't really know how to get the asteroids spinning in one or two directions only.
Hope my english is good enough to make you understand what's my problem. :)
greetz
Ben
