|
Well I have been working on my first major undertaking on XNA, I am trying to get a little spaceflight game going with Newtonian physics. I am having a bit of an issue and was wondering what the best solution to this problem was (I'm a spare time coder, but I am an engineer so maths is not a worry). Anyway, my issue is with say thrusters on the ship. I can handle doing the physics calculations given say a direction vector but what is the best way to get (and keep) a direction vector for the thrust as the ship rotates? The way the thing is meant to work is that a given ship will have thrusters in specific locations that can either rotate the ship or force it in various directions. I am just having trouble working out the best way of achieving something like this. My attempts so far have been well less than great and someone here probably knows a lot more than I do. Along with this problem, what would be the best (ie fastest or easiest) way of keeping a ships turrent in the right spot and facing the right way? Summary: Help with 3d direction vectors for a spaceship's thruster.
|
# ¿ Dec 9, 2007 13:23 |
|
|
# ¿ May 2, 2024 21:19 |