Rigid Body issues
by Howard Dortch · in Torque 3D Professional · 07/02/2011 (6:19 am) · 5 replies
I thought I could make a simple meteorite fly across the sky by making a rigid body and just apply an impulse. The object gets created but when I apply the impulse the game just locks up (not responding).
Anyone have a simple way to streak a meteorite across the sky or tell me the secret of how to applyImpulse?
The object gets created ok but the call to applyImpulse locks me.
%p = getBoxCenter(Rockm.getWorldBox());
Rockm.applyImpulse(%p, "10 0 0");
Anyone have a simple way to streak a meteorite across the sky or tell me the secret of how to applyImpulse?
The object gets created ok but the call to applyImpulse locks me.
%p = getBoxCenter(Rockm.getWorldBox());
Rockm.applyImpulse(%p, "10 0 0");
#2
Thanks for the link.
07/02/2011 (7:54 am)
I was doing it that way but just thought how much easier it would be to just create the object with 0 gravity and give it a push.Thanks for the link.
#3
07/02/2011 (8:11 am)
While I am here I would also like to ask about mounting a particle to this object flying across the sky. I create the object and create a particle then obj.mountObj(particle,0) but the particle just sits there. I created a particle fire and even tried to set it's transform and it just sits there and wont move. Any magic tricks to mount a particle to a moving object?
#4
edit: also the secondary fire on the new soldier gun
07/02/2011 (10:51 am)
Check out the rocket launcher, the rocket uses particles for its trailedit: also the secondary fire on the new soldier gun
Torque Owner Richard Ranft
Roostertail Games