pub trait Joint: WrappedBase<Joint> + FromFFI<Joint> {
Show 13 methods // Required method fn assumed_type() -> JointType where Self: Sized; // Provided methods fn handle(&self) -> JointHandle { ... } fn get_type(&self) -> JointType { ... } fn body_a(&self) -> BodyHandle { ... } fn body_b(&self) -> BodyHandle { ... } fn anchor_a(&self) -> Vec2 { ... } fn anchor_b(&self) -> Vec2 { ... } fn reaction_force(&self) -> Vec2 { ... } fn reaction_torque(&self) -> f32 { ... } fn is_active(&self) -> bool { ... } fn is_collide_connected(&self) -> bool { ... } fn dump(&mut self) { ... } fn shift_origin(&mut self, origin: &Vec2) { ... }
}

Required Methods§

source

fn assumed_type() -> JointType
where Self: Sized,

Provided Methods§

source

fn handle(&self) -> JointHandle

source

fn get_type(&self) -> JointType

source

fn body_a(&self) -> BodyHandle

source

fn body_b(&self) -> BodyHandle

source

fn anchor_a(&self) -> Vec2

source

fn anchor_b(&self) -> Vec2

source

fn reaction_force(&self) -> Vec2

source

fn reaction_torque(&self) -> f32

source

fn is_active(&self) -> bool

source

fn is_collide_connected(&self) -> bool

source

fn dump(&mut self)

source

fn shift_origin(&mut self, origin: &Vec2)

Implementors§