dmech v0.4.1 (2020-07-30T18:32:41Z)
Home
Dub
Repo
BallConstraint
dmech
constraint
Undocumented in source.
class
BallConstraint :
Constraint
{
Vector3f
localAnchor1
;
Vector3f
localAnchor2
;
Vector3f
r1
;
Vector3f
r2
;
Vector3f
[
4
]
jacobian
;
float
accumulatedImpulse
;
float
biasFactor
;
float
softness
;
float
softnessOverDt
;
float
effectiveMass
;
float
bias
;
this
(Owner owner, RigidBody body1, RigidBody body2, Vector3f anchor1, Vector3f anchor2);
void
prepare
(double delta);
void
step
();
}
Constructors
this
this
(Owner owner, RigidBody body1, RigidBody body2, Vector3f anchor1, Vector3f anchor2)
Undocumented in source.
Members
Functions
prepare
void
prepare
(double delta)
Undocumented in source. Be warned that the author may not have intended to support it.
step
void
step
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
accumulatedImpulse
float
accumulatedImpulse
;
Undocumented in source.
bias
float
bias
;
Undocumented in source.
biasFactor
float
biasFactor
;
Undocumented in source.
effectiveMass
float
effectiveMass
;
Undocumented in source.
jacobian
Vector3f
[
4
]
jacobian
;
Undocumented in source.
localAnchor1
Vector3f
localAnchor1
;
localAnchor2
Vector3f
localAnchor2
;
Undocumented in source.
r1
Vector3f
r1
;
r2
Vector3f
r2
;
Undocumented in source.
softness
float
softness
;
Undocumented in source.
softnessOverDt
float
softnessOverDt
;
Undocumented in source.
Inherited Members
From Constraint
body1
RigidBody
body1
;
Undocumented in source.
body2
RigidBody
body2
;
Undocumented in source.
prepare
void
prepare
(double delta)
Undocumented in source.
step
void
step
()
Undocumented in source.
Meta
Source
See Implementation
dmech
constraint
classes
AngleConstraint
AxisAngleConstraint
BallConstraint
Constraint
DistanceConstraint
HingeConstraint
PrismaticConstraint
SliderConstraint