dagon v0.10.3 (2020-05-05T21:30:13Z)
Home
Dub
Repo
SliderConstraint
dagon
physics
constraint
Undocumented in source.
class
SliderConstraint :
Constraint
{
Vector3f
lineNormal
;
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 lineStartPointBody1, Vector3f pointBody2);
void
prepare
(double delta);
void
step
();
}
Constructors
this
this
(Owner owner, RigidBody body1, RigidBody body2, Vector3f lineStartPointBody1, Vector3f pointBody2)
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.
lineNormal
Vector3f
lineNormal
;
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
dagon
physics
constraint
classes
AngleConstraint
AxisAngleConstraint
BallConstraint
Constraint
DistanceConstraint
HingeConstraint
PrismaticConstraint
SliderConstraint