Modifying muzzleVector(aiming)
by Bristow · in Torque Game Engine · 07/19/2007 (7:04 pm) · 0 replies
Currently I'm writing a shooter from a top-down perspective, my camera however is the given vector(as normal) for how the gun shoots and therefor i always shoot into the ground blowing myself up
What I'm interested to find out is how to modify the muzzlevector (getmuzzlevector) so that my character always shoots forward in the direction he's facing
So fire I've gone through a few helpful links, with slight success but nothing that looks like it could be it.
Any suggestions would be appreciated, step by step approach would be great
What I'm interested to find out is how to modify the muzzlevector (getmuzzlevector) so that my character always shoots forward in the direction he's facing
So fire I've gone through a few helpful links, with slight success but nothing that looks like it could be it.
Any suggestions would be appreciated, step by step approach would be great
About the author