How to calculate rocket?
问题 So I got a 3d system and some coordinates: Start coordinates (x, y, z) of a rocket (on the ground) Target coordinates (x, y, z) of the rockets target (also on the ground) I got some initialize values like: maximum_velocityZ = 0.5 maximum_resVelocityXY = 0.3 gravity factor = 9.81 How can I calculate the flight velocitys (velocityX, velocityY and velocityZ) for every update frame? let maximum_velocityZ = 0.5 let maximum_resVelocityXY = 0.3 let gravity_factor = 9.81 let rocketPosition = { x: 3,