Game Development Community

Rotation of a mounted weapon

by Kevin Bamonte · in Torque Game Engine · 12/13/2007 (5:31 pm) · 4 replies

Is it possible to rotate a mounted object (weapon) during the game (depending on if a key is hit) ?

i can;t seem to find a way to do this.

thanks in advance

kevin

#1
12/15/2007 (5:57 pm)
Hello all,

i don't need you to supply code for this (unless you have it handy) i just need to know if it can be done or not ... it doesn't seem like you can ...

thanks in advance,

kevin
#2
12/15/2007 (8:54 pm)
Kev, I don't think it's easily done, but here are some possible approaches:
1) Put the rotation in an animation in the mounted object. Call the animation from the normal mountedimage state machine
2) Write some engine code to rotate the mounted image
#3
12/15/2007 (9:37 pm)
Yes I've had the same problem... Just turn the mounts like an animation.
#4
12/16/2007 (9:17 am)
Hey thanks guys

that helps a lot - much appreciated

kevin