Versions in this module Expand all Collapse all v0 v0.1.0 Mar 14, 2019 Changes in this version + type ConeTwist struct + func NewConeTwist(bodyA, bodyB IBody, pivotA, pivotB, axisA, axisB *math32.Vector3, ...) *ConeTwist + func (ctc *ConeTwist) Update() + type Constraint struct + func (c *Constraint) AddEquation(eq equation.IEquation) + func (c *Constraint) BodyA() IBody + func (c *Constraint) BodyB() IBody + func (c *Constraint) CollideConnected() bool + func (c *Constraint) Equations() []equation.IEquation + func (c *Constraint) SetEnabled(state bool) + type Distance struct + func NewDistance(bodyA, bodyB IBody, distance, maxForce float32) *Distance + func (dc *Distance) Update() + type Hinge struct + func NewHinge(bodyA, bodyB IBody, pivotA, pivotB, axisA, axisB *math32.Vector3, ...) *Hinge + func (hc *Hinge) SetMotorEnabled(state bool) + func (hc *Hinge) SetMotorMaxForce(maxForce float32) + func (hc *Hinge) SetMotorSpeed(speed float32) + func (hc *Hinge) Update() + type IBody interface + PointToLocal func(*math32.Vector3) math32.Vector3 + Quaternion func() *math32.Quaternion + VectorToLocal func(*math32.Vector3) math32.Vector3 + VectorToWorld func(*math32.Vector3) math32.Vector3 + WakeUp func() + type IConstraint interface + BodyA func() IBody + BodyB func() IBody + CollideConnected func() bool + Equations func() []equation.IEquation + Update func() + type Lock struct + func NewLock(bodyA, bodyB IBody, maxForce float32) *Lock + func (lc *Lock) Update() + type PointToPoint struct + func NewPointToPoint(bodyA, bodyB IBody, pivotA, pivotB *math32.Vector3, maxForce float32) *PointToPoint + func (ptpc *PointToPoint) Update()