- Joined
- Feb 25, 2007
- Messages
- 22
Hey, so like basically everyone else I'm working on a little FPS to get used to the Galaxy Editor, but I'm having some trouble with the targeting system. As it works now, WASD alters a global Real which the character then turns to (this is so a unit that is walking forward will not have to stop to turn). Also, this allows the camera to remain facing forward when the character strafes.
For my weapon system, I spawn a unit and order it to move to a point (position of the character) with polar offset (towards camera facing degrees) so that when strafing you can still fire forward. Collision of bullets is working fine, but the targeting is terrible. Even though the camera/movement works perfectly, the bullets often fly in completely random (or at least as far as I can tell) directions. Sometimes it seems as if they are all attracted to a particular point, but that point changes often.
Anyways I was wondering if anyone had any ideas on what's going wrong and how to fix it. I can put up some of my triggers if that'll make it easier, and any help is appreciated.
Thanks!
For my weapon system, I spawn a unit and order it to move to a point (position of the character) with polar offset (towards camera facing degrees) so that when strafing you can still fire forward. Collision of bullets is working fine, but the targeting is terrible. Even though the camera/movement works perfectly, the bullets often fly in completely random (or at least as far as I can tell) directions. Sometimes it seems as if they are all attracted to a particular point, but that point changes often.
Anyways I was wondering if anyone had any ideas on what's going wrong and how to fix it. I can put up some of my triggers if that'll make it easier, and any help is appreciated.
Thanks!