4 using SiliconStudio.Core.Mathematics;
10 internal BulletSharp.ConeTwistConstraint InternalConeTwistConstraint;
18 public float FixThresh
20 get {
return InternalConeTwistConstraint.FixThresh; }
21 set { InternalConeTwistConstraint.FixThresh = value; }
30 public float SwingSpan1
32 get {
return InternalConeTwistConstraint.SwingSpan1; }
41 public float SwingSpan2
43 get {
return InternalConeTwistConstraint.SwingSpan2; }
52 public float TwistAngle
54 get {
return InternalConeTwistConstraint.TwistAngle; }
63 public float TwistLimitSign
65 get {
return InternalConeTwistConstraint.TwistLimitSign; }
74 public float TwistSpan
76 get {
return InternalConeTwistConstraint.TwistSpan; }
85 public bool IsPastSwingLimit
87 get {
return InternalConeTwistConstraint.IsPastSwingLimit; }
96 public int SolveSwingLimit
98 get {
return InternalConeTwistConstraint.SolveSwingLimit; }
107 public int SolveTwistLimit
109 get {
return InternalConeTwistConstraint.SolveTwistLimit; }
119 InternalConeTwistConstraint.SetFrames(frameA, frameB);
128 public void SetLimit(
float swingSpan1,
float swingSpan2,
float twistSpan)
130 InternalConeTwistConstraint.SetLimit(swingSpan1, swingSpan2, twistSpan);
141 public void SetLimit(
float swingSpan1,
float swingSpan2,
float twistSpan,
float softness,
float biasFactor)
143 InternalConeTwistConstraint.SetLimit(swingSpan1, swingSpan2, twistSpan, softness);
155 public void SetLimit(
float swingSpan1,
float swingSpan2,
float twistSpan,
float softness,
float biasFactor,
float relaxationFactor)
157 InternalConeTwistConstraint.SetLimit(swingSpan1, swingSpan2, twistSpan, softness, biasFactor);
166 InternalConeTwistConstraint.SetAngularOnly(angularOnly);
175 InternalConeTwistConstraint.SetDamping(damping);
184 InternalConeTwistConstraint.EnableMotor(
b);
193 InternalConeTwistConstraint.SetMaxMotorImpulse(maxMotorImpulse);
202 InternalConeTwistConstraint.SetMaxMotorImpulseNormalized(maxMotorImpulse);
211 InternalConeTwistConstraint.SetMotorTarget(q);
220 InternalConeTwistConstraint.SetMotorTargetInConstraintSpace(q);
void SetMaxMotorImpulse(float maxMotorImpulse)
Sets the maximum motor impulse.
void SetFrames(Matrix frameA, Matrix frameB)
Sets the frames.
void EnableMotor(bool b)
Enables the motor.
void SetDamping(float damping)
Sets the damping.
void SetMotorTargetInConstraintSpace(Quaternion q)
Sets the motor target in constraint space.
Represents a four dimensional mathematical quaternion.
void SetLimit(float swingSpan1, float swingSpan2, float twistSpan, float softness, float biasFactor, float relaxationFactor)
Sets the limit.
using SiliconStudio.Paradox. Physics
void SetMotorTarget(Quaternion q)
Sets the motor target.
void SetLimit(float swingSpan1, float swingSpan2, float twistSpan)
Sets the limit.
void SetAngularOnly(bool angularOnly)
Sets the angular only.
void SetMaxMotorImpulseNormalized(float maxMotorImpulse)
Sets the maximum motor impulse normalized.
void SetLimit(float swingSpan1, float swingSpan2, float twistSpan, float softness, float biasFactor)
Sets the limit.
Represents a 4x4 mathematical matrix.