- #1
Seppy
- 1
- 0
I need to find the angle of a projectile after traveling x seconds of flight.
I know the position of the projectile, the x seconds and the velocity.
or
I need to find the displacement of a projectile after a set increment time rather than the standard, total time used in the
y=ut+1/2gt^2
This is for a physics engine, instead of keeping a constant clock of projectiles i need to update the projectiles position every x seconds. This is because for longterm flight projectiles the clock would exceed memory allocation.
What I've tryed to do is use
theta = atan(u + at)
But it gets weird results.
I know the position of the projectile, the x seconds and the velocity.
or
I need to find the displacement of a projectile after a set increment time rather than the standard, total time used in the
y=ut+1/2gt^2
This is for a physics engine, instead of keeping a constant clock of projectiles i need to update the projectiles position every x seconds. This is because for longterm flight projectiles the clock would exceed memory allocation.
What I've tryed to do is use
theta = atan(u + at)
But it gets weird results.
Last edited: