♟️
Chess Puzzle System - Doc
  • Chess Puzzle Sys - Introduction
  • ⭐Getting Started
    • Quick Start
    • Detailed Setup
  • ❓Support
    • FAQ
    • Power Up Event
    • Adding Audioclips
    • System Namespace
    • Adding More Fuses / Boxes
    • Using Different Character Controller
    • Where are inputs located?
    • Root GameObject warning?
    • Fuse Spawn Offset / Rotation
  • 🌀Development
    • Patch Notes - V1.4
    • Roadmap
  • 📧Contacts
    • Contact Me
    • My Other Assets
Powered by GitBook
On this page
  • Offset Spawning:
  • Rotation Spawning:
  1. Support

Fuse Spawn Offset / Rotation

Offset Spawning:

If you want to spawn a fuse closer or further away from the fuse box when inputting a fuse, you can use the spawnOffset which is a private variable in-case you need it.

  • Just make this visible in the inspector and adjust the Z axis in the Vector3. I'll also leave an example below:

/*Serialize this field if you wish to spawn a fuse with an offset further
 away from the spawn point*/
private Vector3 spawnOffset = new Vector3(0, 0, 0f);
[SerializeField] private Vector3 spawnOffset = new Vector3(0, 0, VALUE-HERE);

Rotation Spawning:

You can use the FuseRotation field to set the rotation of each spawned fuse (If this is needed for your game)

PreviousRoot GameObject warning?NextPatch Notes - V1.4

Last updated 1 year ago

❓