Function ambient_api::physics::freeze
source · pub fn freeze(entity: EntityId)
Available on crate feature
server
only.Expand description
Freezes an entity
, so that it cannot move around. Does nothing if the entity was already frozen.