pra
08-09-2008 19:50:08
This is actually a general game design question, but there is a part about OgreNewt, too:
If the player (or some other character) shoots a projectile (arrow, missile, whatever), should it have the velocity of the player added to it's own?
For Example, i'm walking sideways with constant velocity, and shoot. From my point of view, should the missile stay in the center of my screen, or should it move away?
In vacuum the answer is clear, but how is it with air? I have no idea about aerodynamics, would air compensate this additional velocity?
If air does affect this: I still want to prevent the player from running into his own missiles, so I would like to add the parallel component of his velocity to the missiles velocity. How could I extract this component?
If the player (or some other character) shoots a projectile (arrow, missile, whatever), should it have the velocity of the player added to it's own?
For Example, i'm walking sideways with constant velocity, and shoot. From my point of view, should the missile stay in the center of my screen, or should it move away?
In vacuum the answer is clear, but how is it with air? I have no idea about aerodynamics, would air compensate this additional velocity?
If air does affect this: I still want to prevent the player from running into his own missiles, so I would like to add the parallel component of his velocity to the missiles velocity. How could I extract this component?