💍
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
  • Detection Settings
  • Movement Settings
  1. Animal Controller States
  2. Push and Pull

PushPull Script

The PushPull script represents a state that allows a character to push and pull objects within the game environment. It provides functionality for detecting push/pull objects, handling movement, rotat

PreviousPush and PullNextPushPullObject Script

Last updated 11 months ago

Detection Settings

detectionTag: Unity tag used to identify push/pull objects.

pushPullObjectTag: Malbers tag used to identify push/pull objects.

detectionRadius: Radius for detecting push/pull objects.

raycastPosition: Position offset for the raycast used for detection.

rayLength: Length of the raycast used for detection.

alignRotationSpeed: Speed of rotation when aligning to push/pull objects.

alignRotationDuration: Duration for character align rotation.

Movement Settings

pushPullMoveSpeed: Movement speed of the character and the push/pull object.

pushPullRotationSpeed: Rotation speed of the character and the push/pull object.

enableRotateMode: Set a string value from an input that you would like to use to enable the rotation mode on the push-pull object.

☑️