📕
Motion Warping for Unity
  • 👋Welcome!
  • concept
    • ⭐Introduction
    • ⚙️How this asset works
  • Fundametals
    • 🔸Motion Warping Asset
    • 🔸Motion Warping Component
    • 🔸Warp Providers
    • 🔸Motion Warping IK
  • Components
    • 🔌Mantle Component
    • 🔌Vault Component
    • 🔌Land Component
    • 🔌Roll Component
    • 🔌Align Component
Powered by GitBook
On this page
  • Overview
  • How does it work?
  • Motion Warping Asset Requirements
  1. Components

Vault Component

PreviousMantle ComponentNextLand Component

Last updated 1 year ago

Overview

This component is used to vault over obstacles. Add it directly to your character:

Tip: you can create Mantle Settings and Motion Warping Assets by right clicking Create/KINEMATION/Motion Warping/

Vaulting Settings define properties to vault over obstacles:

  • Layer Mask: defines the collision mask.

  • Capsule Radius: radius for capsule trace.

  • Max/Min Obstacle Length: max and min allowed lengths of the obstacle.

  • Sphere Edge Check Radius: sphere trace radius to find the edges of the obstacle.

  • Max Allowed Start Length: max allowed distance between the front edge and the character.

  • Max/Min Allowed Start Height: max/min allowed height of the fron edge.

  • Close Edge Deviation: edge vertical offset.

  • Far Edge Offset: start vertical offset to find the rear edge.

  • Max/Min Allowed End Height: max/min allowed height of the rear edge.

How does it work?

The VaultComponent uses 3 stages to find all target points: Close Edge, Far Edge and End Point.

  1. Try to find an obstacle and the Close Edge.

  2. Try to find the End Point.

  3. Try to find the Far Edge

Motion Warping Asset Requirements

Vaulting over animation must have 3 Warp Phases.

  1. Go from current point to the Close Edge.

  2. Go from the Close Edge to the Far Edge.

  3. Go from the Far Edge to the End Point.

🔌
Inspector.
Vaulting Settings.