6D simulation of a projectile