Class SliderJoint2D
Inheritance
SliderJoint2D
Assembly: UnityEngine.dll
Syntax
public sealed class SliderJoint2D : AnchoredJoint2D
Properties
angle
Declaration
public float angle { get; set; }
Property Value
Declaration
public bool autoConfigureAngle { get; set; }
Property Value
jointSpeed
Declaration
public float jointSpeed { get; }
Property Value
jointTranslation
Declaration
public float jointTranslation { get; }
Property Value
limits
Declaration
public JointTranslationLimits2D limits { get; set; }
Property Value
limitState
Declaration
public JointLimitState2D limitState { get; }
Property Value
motor
Declaration
public JointMotor2D motor { get; set; }
Property Value
referenceAngle
Declaration
public float referenceAngle { get; }
Property Value
useLimits
Declaration
public bool useLimits { get; set; }
Property Value
useMotor
Declaration
public bool useMotor { get; set; }
Property Value
Methods
GetMotorForce(Single)
Declaration
public float GetMotorForce(float timeStep)
Parameters
Type |
Name |
Description |
Single |
timeStep |
|
Returns
Extension Methods