Property | Type | Description | |
---|---|---|---|
adjustableMass | float | ||
airshipMainCam | |||
animLowThrottleMult | float | ||
animThrottleMult | float | ||
audioControl | |||
engineAudioControl | |||
generalSpeed | float | ||
highControlMult | float | ||
highControlSpeedThreshold | float | ||
killY | float | ||
pitchForce | float | ||
pitchLimitMult | float | ||
reverseSpeedMult | float | ||
rollForce | float | ||
rollLimitMult | float | ||
rudderJoint | |||
shipPartConns | ShipPartInputConnection[] | ||
stallY | float | ||
trapdoorRumbleCooldown | float | ||
yawForce | float |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
ClearPropellerAnim ( ) : void | ||
FixedUpdate ( ) : void | ||
OnTriggerStay ( |
Called each physics tick that other objects are colliding with this trigger.
|
|
PlayerInputs ( float a_Vertical, float a_Horizontal, float a_camVertical, float a_camHorizontal, float a_triggers, bool a_bumperLeft, bool a_bumperRight, bool a_faceUp, bool a_faceDown, bool a_faceLeft, bool a_faceRight, float a_dPadHorizontal, float a_dPadVertical ) : void | ||
Start ( ) : void | ||
TrapdoorRumblePulse ( ) : void |
Executes a pulse of rumble, repeats if button is still held down.
|
|
Update ( ) : void | ||
Vibrate ( ) : void |
Method | Description | |
---|---|---|
CalcHandlingMassMult ( ) : float |
Calculates the multiplier for ship handling values (throttle, roll, pitch, yaw, etc.).
|
|
CalculateRightingForce ( ) : void |
Attempts to auto-level the player's ship. Counters roll more-so than pitch, ignores yaw.
|
|
CalculateTorque ( ) : void |
Calculates the rotation forces on the ship, see the standard assets example for more.
|
|
ClampInputs ( ) : void |
Clamps the input values into the [-1, 1] range.
|
|
GetPartInputMults ( |
Returns the part input multipliers for the input ship part type.
|
|
TestVerticalLimits ( ) : void | ||
ThrottleMovement ( ) : void |
Moves the player's ship forward with either their constant movement speed or their inputted throttle.
|
public OnTriggerStay ( |
||
a_other | ||
return | void |
public PlayerInputs ( float a_Vertical, float a_Horizontal, float a_camVertical, float a_camHorizontal, float a_triggers, bool a_bumperLeft, bool a_bumperRight, bool a_faceUp, bool a_faceDown, bool a_faceLeft, bool a_faceRight, float a_dPadHorizontal, float a_dPadVertical ) : void | ||
a_Vertical | float | |
a_Horizontal | float | |
a_camVertical | float | |
a_camHorizontal | float | |
a_triggers | float | |
a_bumperLeft | bool | |
a_bumperRight | bool | |
a_faceUp | bool | |
a_faceDown | bool | |
a_faceLeft | bool | |
a_faceRight | bool | |
a_dPadHorizontal | float | |
a_dPadVertical | float | |
return | void |
public AirshipCamBehaviour,ProjectStorms airshipMainCam | ||
return |
public EngineAudio,ProjectStorms engineAudioControl | ||
return |
public HingeJointScript,ProjectStorms rudderJoint | ||
return |
public ShipPartInputConnection[] shipPartConns | ||
return | ShipPartInputConnection[] |