Game Development Community

Rotating projectile?

by Lee Latham · in Torque Game Engine · 03/31/2008 (3:34 pm) · 2 replies

This is a hard thing to search for, and I haven't found anything. Is it possible to have a projectile rotate while traveling?

I'm wondering about applying some spinning impulse to it upon creation, but that seems a bit hairy...

I'm talking about a large, slow projectile, btw. Like a boomerang or something.

Hmm can they be animated?

#1
03/31/2008 (6:25 pm)
Probably you can animate the dts and tell it to start when the projectile is fired. I'm not sure whether this requires engine changes or not.
#2
04/01/2008 (9:55 am)
Interesting idea, I'll try it out, thanks.

Right now I'm trying to use the projectile's setTransform() function without much luck. It would be pretty adequate to have each one come out rotated differently. Doesn't seem to be having any effect, though.