Show / Hide Table of Contents

    Struct D3AngularMotor

    An angular motor which has three rotional degrees of freedom.

    Namespace: Motphys.Rigidbody
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct D3AngularMotor

    Fields

    mode

    Declaration
    public AngularMotorDriveMode mode
    Field Value
    Type Description
    AngularMotorDriveMode

    The drive mode of the motor.

    slerpDrive

    Declaration
    public AngularMotorDrive slerpDrive
    Field Value
    Type Description
    AngularMotorDrive

    The drive used in SLerp and Velocity mode.

    swingDrive

    Declaration
    public AngularMotorDrive swingDrive
    Field Value
    Type Description
    AngularMotorDrive

    The drive used in twist-swing mode for swing.

    targetAngularVelocity

    Declaration
    public Vector3 targetAngularVelocity
    Field Value
    Type Description
    Vector3

    The target relative angular velocity of the connected body in first body's local anchor space.

    targetRotation

    Declaration
    public Quaternion targetRotation
    Field Value
    Type Description
    Quaternion

    It is defined as the target anchor rotation of the connected body in first body's local anchor space.

    twistDrive

    Declaration
    public AngularMotorDrive twistDrive
    Field Value
    Type Description
    AngularMotorDrive

    The drive used in twist-swing mode for twist.

    type

    Declaration
    public MotorType type
    Field Value
    Type Description
    MotorType

    The type of motor, either driven by position or by velocity

    Back to top Copyright © 2020-2024 北京谋先飞技术有限公司及其关联公司北京谋先飞科技有限公司
    Generated by DocFX