C# Class ProjectStorms.HingeJointScript

Make a custom 'hinge' rotation controlled through the airship's movement.
Inheritance: UnityEngine.MonoBehaviour
Show file 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 property

public AirshipControlBehaviour,ProjectStorms airshipControlBehaviour
return AirshipControlBehaviour

axis public property

public EHingeAxis axis
return EHingeAxis

isRudderJoint public property

public bool isRudderJoint
return bool

maxRotationDegrees public property

public float maxRotationDegrees
return float