dmech v0.4.1 (2020-07-30T18:32:41Z)
Home
Dub
Repo
HingeConstraint
dmech
constraint
Undocumented in source.
class
HingeConstraint :
Constraint
{
AxisAngleConstraint
aac
;
BallConstraint
bc
;
this
(Owner owner, RigidBody body1, RigidBody body2, Vector3f anchor1, Vector3f anchor2, Vector3f axis);
void
prepare
(double dt);
void
step
();
}
Constructors
this
this
(Owner owner, RigidBody body1, RigidBody body2, Vector3f anchor1, Vector3f anchor2, Vector3f axis)
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
aac
AxisAngleConstraint
aac
;
Undocumented in source.
bc
BallConstraint
bc
;
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