Wiki
  • Homepage
  • Player's Manual
    • Controls
    • Skills
    • Objects
    • Credits
  • Contributing
    • Getting Started
      • Programs and Files
      • Cloning the GitHub Project
      • Git Structure
      • Submitting Changes
    • Level Design
      • Basic Level Setup
      • Creating Static.tscn
      • Creating Collision.tscn
      • Stage Triggers
        • Using StageTrigger.tscn
        • Camera Triggers
        • Culling Triggers
        • Death Triggers
        • Dialog Triggers
        • Jump Triggers
        • Path Triggers
        • Automation Triggers
        • Drift Triggers
        • Foothold Triggers
        • Platform Triggers
        • Sidle Triggers
      • Stage Objects
      • Placing Objects Along the Path
    • Playtesting
      • General Shortcuts
      • Debug Menu
      • Free Camera Mode
      • Using the Editor for Playtesting
    • Submitting a Bug Report
    • Documentation Style Guide
  • Asset Guidelines
    • Source Files
    • Asset Ripping Reference
      • Original Model Files
    • Asset Editing Reference
      • Editing Environment Models
      • Editing Collision Models
      • All About Curves
      • Exporting Models from Blender
    • Resources Files
      • CameraSettingsResource
    • Miscellaneous Notes
  • Godot Guidelines
    • File Guides
      • File Structure
      • Naming Files
    • Project Settings
      • Tag Reference
      • Layer Reference
    • Particle Effects
    • Audio
  • CODE GUIDELINES
    • Language Specifications
    • Formatting
    • General guidelines
    • Attributes
    • Floating Point Numbers
Powered by GitBook
On this page
  • Properties
  • Methods & Signals
  • Usage
  1. Contributing
  2. Level Design
  3. Stage Triggers

Drift Triggers

PreviousAutomation TriggersNextFoothold Triggers

Last updated 11 months ago

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 's Object node, then add a CollisionShape3D in the same way as .

Static.tscn
StageTrigger.tscn