Skip to main content

look_at

Function look_at 

Source
pub fn look_at(from: Vec3, to: Vec3) -> (f32, f32)
Expand description

Compass direction (yaw) and pitch in degrees that point from from to to, e.g. to aim at a target or to make a body look at it.