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

Vaulting Settings.
- 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.- Try to find an obstacle and the Close Edge.
- Try to find the End Point.
- Try to find the Far Edge
Motion Warping Asset Requirements
Vaulting over animation must have 3 Warp Phases.- Go from current point to the Close Edge.
- Go from the Close Edge to the Far Edge.
- Go from the Far Edge to the End Point.
