Author Topic: Calculating horizontal component of arc  (Read 771 times)

I'm trying to launch an object to another object. I have the following variables:

Vertical Component, Range, Angle(45 degrees always)

How can I get the horizontal component aka what velocity I need to launch the object at so it will reach its target always

Find the time that the projectile will stay in the air for based on the vertical component and the difference between your elevation and the target elevation, and divide the distance from you to your target (ignore the z component of the positions) by that time, to get distance/time = velocity.

Find the time that the projectile will stay in the air for based on the vertical component and the difference between your elevation and the target elevation
all the formulas i know involve some form of accelleration (usually gravity) and I don't know how this applies to blockland.

gravity in BL is -20TU/s2 iirc

gravity in BL is -20TU/s2 iirc
Also depends on the gravity property of the projectile, just a note.