Class WheelJoint2D
Assembly: UnityEngine.dll
Syntax
public sealed class WheelJoint2D : AnchoredJoint2D
Properties
jointAngle
Declaration
public float jointAngle { get; }
Property Value
jointLinearSpeed
Declaration
public float jointLinearSpeed { get; }
Property Value
jointSpeed
Declaration
public float jointSpeed { get; }
Property Value
jointTranslation
Declaration
public float jointTranslation { get; }
Property Value
motor
Declaration
public JointMotor2D motor { get; set; }
Property Value
suspension
Declaration
public JointSuspension2D suspension { get; set; }
Property Value
useMotor
Declaration
public bool useMotor { get; set; }
Property Value
Methods
GetMotorTorque(Single)
Declaration
public float GetMotorTorque(float timeStep)
Parameters
Type |
Name |
Description |
Single |
timeStep |
|
Returns
Extension Methods