Table of Contents

Class AngularMotorConstraintComponent

Namespace
Stride.BepuPhysics.Constraints
Assembly
Stride.BepuPhysics.dll
[DataContract("AngularMotorConstraint")]
[DefaultEntityComponentProcessor(typeof(ConstraintProcessor), ExecutionMode = ExecutionMode.Runtime)]
[ComponentCategory("Physics - Bepu Constraint")]
public sealed class AngularMotorConstraintComponent : TwoBodyConstraintComponent<AngularMotor>, IIdentifiable, ITwoBody, IMotor
Inheritance
object
ConstraintComponent<AngularMotor>
AngularMotorConstraintComponent
Implements
Inherited Members

Constructors

AngularMotorConstraintComponent()

public AngularMotorConstraintComponent()

Properties

MotorDamping

Mass-scaled damping constant, How rigid the constraint is.

public float MotorDamping { get; set; }

Property Value

float

Remarks

If you want to simulate a viscous damping coefficient of D with an object of mass M, set this damping value to D / M.

MotorMaximumForce

Maximum amount of force the motor can apply in one unit of time.

public float MotorMaximumForce { get; set; }

Property Value

float

TargetVelocityLocalA

public Vector3 TargetVelocityLocalA { get; set; }

Property Value

Vector3