package
0.22.0
Repository: https://github.com/mokiat/lacking.git
Documentation: pkg.go.dev

# Functions

NewChandelier creates a new Chandelier constraint solver.
NewClampDirectionOffset creates a new ClampDirectionOffset constraint solver.
NewCoilover creates a new Coilover constraint solver.
NewCombined creates a new Combined solver based on the specified sub-solvers.
NewCopyDirection creates a new CopyDirection constraint solver.
NewCopyPosition creates a new CopyPosition constraint solver.
NewCopyRotation creates a new CopyRotation constraint solver.
NewDifferential creates a new Differential constraint solver.
NewHingedRod creates a new HingedRod constraint solver.
No description provided by the author
NewMatchDirectionOffset creates a new MatchDirectionOffset constraint solver.
NewMatchDirections creates a new MatchDirections constraint solver.
NewMatchRotation creates a new constraint solver that keeps two bodies oriented in the same direction on all axis.
NewPairCombined creates a new PairCombined solver based on the specified sub-solvers.
NewStaticPosition creates a new StaticPosition constraint solver.
NewStaticRotation creates a new StaticRotation constraint solver.

# Structs

Chandelier represents the solution for a constraint that keeps a body hanging off of a fixture location similar to a chandelier.
ClampDirectionOffset represents the solution for a constraint which ensures that the second body is within certain min and max bounds relative to the first body along a certain direction of the first body.
Coilover represents the solution for a constraint that immitates a car coilover through a damped harmonic oscillator.
No description provided by the author
No description provided by the author
Combined is a single-object solver that delegates its logic to a number of sub-solvers.
CopyDirection ensures that the second body has the same direction as the first one.
CopyPosition ensures that the target object has the same position as the source one.
CopyRotation ensures that the target body has exactly the same rotation as the source one.
Differential represents the solution for a constraint that keeps two objects from rotating too much relative to one another over the local X axis.
HingedRod represents the solution for a constraint that keeps two bodies tied together with a hard link of specific length.
No description provided by the author
MatchDirectionOffset represents the solution for a constraint which ensures that the second body is at an exact distance away from the first body along some direction of the first body.
MatchDirections represents the solution for a constraint that keeps the direction of two bodies pointing in the same direction.
No description provided by the author
No description provided by the author
PairCombined is a double-object solver that delegates its logic to a number of sub-solvers.
StaticPosition represents the solution for a constraint that keeps a body positioned at the specified fixture location.
StaticRotation represents the solution for a constraint that keeps a body positioned at the specified fixture location.