calculation

How to calculate rocket?

a 夏天 提交于 2019-12-02 07:24:00
问题 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,

How to calculate rocket?

房东的猫 提交于 2019-12-02 04:38:56
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, y: 0, z: 2 } let rocketTarget = { x: 7, y: 5, z: 8 } let rocketVelocity = { x: 0, y: 0, z: 0 } let