C# Class ProjectStorms.HingeJointScript

Make a custom 'hinge' rotation controlled through the airship's movement.
Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: patferguson/Storms-Project

Public Properties

Property Type Description
airshipControlBehaviour AirshipControlBehaviour
axis EHingeAxis
isRudderJoint bool
maxRotationDegrees float

Public Methods

Method Description
Awake ( ) : void
FixedUpdate ( ) : void
GetAxis ( ) : void

Checking which value we should be looking at.

SetAxis ( ) : void

Update the game object rotation based on axis.

Start ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

GetAxis() public method

Checking which value we should be looking at.
public GetAxis ( ) : void
return void

SetAxis() public method

Update the game object rotation based on axis.
public SetAxis ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

airshipControlBehaviour public_oe property

public AirshipControlBehaviour,ProjectStorms airshipControlBehaviour
return AirshipControlBehaviour

axis public_oe property

public EHingeAxis axis
return EHingeAxis

isRudderJoint public_oe property

public bool isRudderJoint
return bool

maxRotationDegrees public_oe property

public float maxRotationDegrees
return float