Function ambient_api::physics::add_radial_impulse
source · pub fn add_radial_impulse(
position: Vec3,
impulse: f32,
radius: f32,
falloff_radius: FalloffRadius
)
Available on crate feature
server
only.Expand description
Applies an impulse
(a f32) outwards to all entitities within radius
of the position
, with
an optional falloff_radius
.