Function ambient_api::prelude::physics::create_revolute_joint
source · pub fn create_revolute_joint(
entity0: EntityId,
transform0: Mat4,
entity1: EntityId,
transform1: Mat4
)
Expand description
Creates a revolute joint. entity0 or entity1 can either be EntityId::null()
to bind this to the world frame.