dmech v0.4.1 (2020-07-30T18:32:41Z)
Home
Dub
Repo
AngleConstraint
dmech
constraint
Undocumented in source.
class
AngleConstraint :
Constraint
{
Vector3f
[
4
]
jacobian
;
Vector3f
accumulatedImpulse
;
float
biasFactor
;
float
softness
;
float
softnessOverDt
;
Matrix3x3f
effectiveMass
;
Vector3f
bias
;
this
(Owner owner, RigidBody body1, RigidBody body2);
void
prepare
(double dt);
void
step
();
}
Constructors
this
this
(Owner owner, RigidBody body1, RigidBody body2)
Undocumented in source.
Members
Functions
prepare
void
prepare
(double dt)
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
Vector3f
accumulatedImpulse
;
Undocumented in source.
bias
Vector3f
bias
;
Undocumented in source.
biasFactor
float
biasFactor
;
Undocumented in source.
effectiveMass
Matrix3x3f
effectiveMass
;
Undocumented in source.
jacobian
Vector3f
[
4
]
jacobian
;
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