Drift Triggers

Allows the player to make sharp 90° turns.

Properties

  • Is Right Turn - Toggles whether the turn is a right turn, or a left.

  • Slide Distance - Changes how far the drift slides. Shorten this if there is not enough room to do a full drift.

  • Components/SFX - Contains a reference to the AudioStreamPlayer3D node for playing drift sound effects. Should not be changed.

  • Components/Lockout - Contains the LockoutSettingsResource used during a drift. Should not be changed.

Methods & Signals

  • DriftStarted - Emitted when the DriftTrigger is activated.

  • DriftCompleted - Emitted when the DriftTrigger completes.

Usage

Instance DriftTrigger.tscn in Static.tscn's Object node, then add a CollisionShape3D in the same way as StageTrigger.tscn.

Last updated