Flock::Collision::Joint3D
A 3D constraint between two bodies (JointType is shared with 2D). Anchors are
local; Pin is a point-to-point (ball) joint. Held in Physics3D.joints.
Constructors
distance(a : Flock::Entity, b : Flock::Entity, length : Number, anchor_a : Flock::Vec3 = Flock::Vec3.new, anchor_b : Flock::Vec3 = Flock::Vec3.new) : Joint3D
Sourcenew(a : Flock::Entity, b : Flock::Entity, type : Flock::Collision::JointType, anchor_a : Flock::Vec3 = Flock::Vec3.new, anchor_b : Flock::Vec3 = Flock::Vec3.new, length : Float32 = 0.0_f32, stiffness : Float32 = 100.0_f32, damping : Float32 = 1.0_f32, min_length : Float32 = 0.0_f32, max_length : Float32 = 0.0_f32)
Sourcepin(a : Flock::Entity, b : Flock::Entity, anchor_a : Flock::Vec3 = Flock::Vec3.new, anchor_b : Flock::Vec3 = Flock::Vec3.new) : Joint3D
SourceInstance methods
a=(a : Flock::Entity)
Sourceanchor_a
Sourceanchor_a=(anchor_a : Flock::Vec3)
Sourceanchor_b
Sourceanchor_b=(anchor_b : Flock::Vec3)
Sourceb=(b : Flock::Entity)
Sourcedamping
Sourcelength
Sourcemax_length
Sourcemin_length
Sourcestiffness
Sourcetype
Sourcetype=(type : JointType)
Source