💍
Luxus-1 Assets
  • 👋Welcome to Luxus-1 Assets
  • Animal Controller States
    • ☑️Push and Pull
      • PushPull Script
      • PushPullObject Script
      • Step-by-Step guide
        • Setting Up the Character
        • Setting Up the Object
        • Suggestions
        • Changes for 2.5D
      • ▶️Introduction Video
    • ▶️Zipline
    • 🛠️Rope Swing
    • 🛠️Boat Rowing
    • 🛠️Advanced Vaulting
    • ▶️Advanced Climbing
      • Setup Environment
      • Setup Detection
      • Setup Animation
      • State Variables
        • General Settings
        • Detection Settings Variables
        • Animation Settings
        • Input Settings
    • ☑️Pole Climb
    • 🛠️Pole Swing
    • ☑️Rope Hook
    • ☑️Balance
    • ☑️Walljump
Powered by GitBook
On this page
  1. Animal Controller States
  2. Push and Pull
  3. Step-by-Step guide

Setting Up the Character

PreviousStep-by-Step guideNextSetting Up the Object

Last updated 11 months ago

Configure Character State:

Head to your character's setup and drag and drop the scriptable object PushPull into the animal states list. Arrange it in the order you need within the list.

Modify State:

Modify the state settings as per your requirements. Set the input that will activate the state for push and pull actions.

Ensure Tag Matching:

Double-check that the tags used to identify the object's state in the character's scriptable object match the ones set up in the PushPullObject script.

Adjust Ray Height:

Ensure that the height of the ray used for detecting the object can reach the object. Adjust the raycast distance if necessary.

Animator Controller Configuration:

Copy Sub-State with Transition:

Navigate to the animator controller in the project folder of your character. Copy the sub-state containing the transition related to push and pull actions.

Paste into Character's Animator Controller:

Paste the copied sub-state into the animator controller of your character. Ensure that the State ID in the transition matches and is unique within the controller.

☑️