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