ABILITY 10
GravityPull
Create a vortex that pulls nearby enemies toward your character and groups them together.
Activation
GravityPullButtonExample use
Group enemies before following up with GroundSmash.
Ability documentationCHARACTER ABILITY
SETUP GUIDE
Set up this ability
Component dependencies
| Component | Where to add or assign it | Purpose / setup |
|---|---|---|
| CorgiController | Target GameObject | Required for applying the pull movement. |
- Add the CharacterGravityPull component to your character.
- Select GravityPullButton.
- Set TargetLayerMask. Targets need CorgiController for the pull effect.
- Tune PullRadius, PullSpeed, MinDistance and ScanInterval. Use a positive ActiveTime for a timed field.
- Activate to gather nearby targets, then test a GroundSmash follow-up while grounded.
Inspector reference
These are C# field declaration defaults. Existing prefab and scene values can override them. Shared fields are documented under Ability Configuration.
| Field | Type | Declared default |
|---|---|---|
PullRadius | float | 6f |
PullSpeed | float | 8f |
MinDistance | float | 1f |
TargetLayerMask | LayerMask | Not assigned in declaration |
ScanInterval | float | 0.1f |
Usage notes
- Pulling directly sets horizontal and vertical controller force. AI movement may compete with it; check target behavior in Play Mode.
- GravityPull is the name used by the component, input map and Animator.
