Function veloren_server::sys::agent::util::aim_projectile

pub fn aim_projectile(speed: f32, pos: Vec3<f32>, tgt: Vec3<f32>) -> Option<Dir>
Expand description

Projectile motion: Returns the direction to aim for the projectile to reach target position. Does not take any forces but gravity into account.