dagon v0.12.0-beta1 (2021-09-13T08:15:37Z)
Home
Dub
Repo
NewtonBallConstraint
dagon
ext
newton
constraint
Undocumented in source.
class
NewtonBallConstraint :
NewtonConstraint
{
NewtonRigidBody
body1
;
NewtonRigidBody
body2
;
Vector3f
pivotPoint
;
this
(NewtonPhysicsWorld world, NewtonRigidBody body1, NewtonRigidBody body2, Vector3f pivotPoint);
void
setConeLimits
(Vector3f axis, float maxConeAngle, float maxTwistAngle);
}
Constructors
this
this
(NewtonPhysicsWorld world, NewtonRigidBody body1, NewtonRigidBody body2, Vector3f pivotPoint)
Undocumented in source.
Members
Functions
setConeLimits
void
setConeLimits
(Vector3f axis, float maxConeAngle, float maxTwistAngle)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
body1
NewtonRigidBody
body1
;
Undocumented in source.
body2
NewtonRigidBody
body2
;
Undocumented in source.
pivotPoint
Vector3f
pivotPoint
;
Undocumented in source.
Inherited Members
From NewtonConstraint
world
NewtonPhysicsWorld
world
;
Undocumented in source.
joint
NewtonJoint
*
joint
;
Undocumented in source.
stiffness
float
stiffness
()
Undocumented in source. Be warned that the author may not have intended to support it.
stiffness
void
stiffness
(float s)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
dagon
ext
newton
constraint
classes
NewtonBallConstraint
NewtonConstraint
NewtonCorkscrewConstraint
NewtonSliderConstraint
NewtonUniversalConstraint
NewtonUpVectorConstraint