Show / Hide Table of Contents

    Class EllipsoidJoint3D

    Inheritance
    System.Object
    NativeObject
    BaseJoint
    EllipsoidJoint3D
    Inherited Members
    BaseJoint._autoConfigureConnected
    BaseJoint._numPosSolverIter
    BaseJoint._inertiaScaleA
    BaseJoint._inertiaScaleB
    BaseJoint._connectBody
    BaseJoint.autoConfigureConnected
    BaseJoint.numPosSolverIter
    BaseJoint.inertiaScaleA
    BaseJoint.inertiaScaleB
    BaseJoint.ignoreCollision
    BaseJoint.anchorFrame
    BaseJoint.connectedAnchorFrame
    BaseJoint.anchorPosition
    BaseJoint.worldAnchorPosition
    BaseJoint.worldAnchorRotation
    BaseJoint.connectedAnchorPosition
    BaseJoint.worldConnectedAnchorPosition
    BaseJoint.worldConnectedAnchorRotation
    BaseJoint.body
    BaseJoint.connectedBody
    BaseJoint.breakForce
    BaseJoint.breakTorque
    BaseJoint.Awake()
    BaseJoint.OnCreateNative()
    BaseJoint.OnDestroyNative()
    BaseJoint.OnEnable()
    BaseJoint.OnDisable()
    BaseJoint.ApplyProperties()
    BaseJoint.ToString()
    NativeObject.OnDestroy()
    NativeObject.CreateNativeIfNot()
    Namespace: Motphys.Rigidbody
    Assembly: solution.dll
    Syntax
    public class EllipsoidJoint3D : BaseJoint

    Properties

    angularDamper

    Declaration
    public float angularDamper { get; set; }
    Property Value
    Type Description
    System.Single

    Angular damper, higher value means greater deceleration.

    limitSpring

    Declaration
    public SpringDamper limitSpring { get; set; }
    Property Value
    Type Description
    SpringDamper

    The spring used to limit the twist and swing angles.

    motor

    Declaration
    public D3AngularMotor motor { get; set; }
    Property Value
    Type Description
    D3AngularMotor

    The motor used to drive the twist and swing angles.

    swingLimitY

    Declaration
    public JointAngularLimit swingLimitY { get; set; }
    Property Value
    Type Description
    JointAngularLimit

    Used to limit the swing angle. It is defined by the anchor frame's y axis. Low value must be in [-180,0], and high value must be in [0,180] for swing limit of ellipsoid joint.

    swingLimitZ

    Declaration
    public JointAngularLimit swingLimitZ { get; set; }
    Property Value
    Type Description
    JointAngularLimit

    Used to limit the swing angle. It is defined by the anchor frame's z axis. Low value must be in [-180,0], and high value must be in [0,180] for swing limit of ellipsoid joint.

    twistLimit

    Declaration
    public JointAngularLimit twistLimit { get; set; }
    Property Value
    Type Description
    JointAngularLimit

    Used to limit the twist angle. The twist axis is defined by the anchor frame's x axis.

    useMotor

    Declaration
    public bool useMotor { get; set; }
    Property Value
    Type Description
    System.Boolean

    Whether to use a motor.

    useSpring

    Declaration
    public bool useSpring { get; set; }
    Property Value
    Type Description
    System.Boolean

    Whether this joint uses a spring. If false, the spring will be infinity stiffness and 0 damper.

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