Struct HingeConstraintDesc.MotorDesc
- Namespace
- Stride.Physics.Constraints
- Assembly
- Stride.Physics.dll
Hinge constraint properties regarding the angular motor.
[DataContract]
public struct HingeConstraintDesc.MotorDesc
- Inherited Members
Properties
EnableMotor
Enables an angular motor on the constraint.
[Display(0, null, null)]
public bool EnableMotor { readonly get; set; }
Property Value
MaxMotorImpulse
Maximum motor impulse.
[Display(2, null, null)]
public float MaxMotorImpulse { readonly get; set; }
Property Value
TargetVelocity
Target angular velocity of the motor.
[Display(1, null, null)]
public float TargetVelocity { readonly get; set; }