Skip to content

Getting Started

From install to a character that crawls, in five steps.

  1. Install Vertex Adaptive Collision from Fab to your Unreal Engine 5.8.
  2. Open your project.
  3. Go to Edit → Plugins, search for Vertex Adaptive Collision and tick it.
  4. Click Restart Now.

Plugins window: search box with Vertex Adaptive Collision, the plugin ticked.

Pick the option that matches your character.

Option A: Blueprint character (most projects)

Section titled “Option A: Blueprint character (most projects)”

Use this if your character Blueprint’s parent is Character (for example BP_ThirdPersonCharacter from the Third Person template).

  1. Open your character Blueprint.
  2. In the toolbar, click Class Settings.
  3. In the Details panel, set Parent Class to Vertex Character.
  4. Click Compile and Save.

Character Blueprint, Class Settings open: Details panel with Parent Class set to Vertex Character.

Your character works exactly as before. The plugin’s settings are now on its Character Movement component.

Use this if your character Blueprint’s parent is your own C++ class. You swap two components in that class’s constructor. This works with any class based on ACharacter.

  1. Close the editor.
  2. Open your module’s .Build.cs file (for example Source/MyGame/MyGame.Build.cs) and add "VertexAdaptiveCollision" to PublicDependencyModuleNames.
  3. In your character’s header file, change the constructor declaration to take an object initializer:
    AMyCharacter(const FObjectInitializer& ObjectInitializer);
  4. In your character’s .cpp file, add these includes:
    #include "Components/VertexCapsuleComponent.h"
    #include "Movement/VertexCharacterMovementComponent.h"
  5. Change the constructor definition so it passes the two plugin components to Super (keep the code that was inside the braces):
    AMyCharacter::AMyCharacter(const FObjectInitializer& ObjectInitializer)
    : Super(ObjectInitializer
    .SetDefaultSubobjectClass<UVertexCapsuleComponent>(ACharacter::CapsuleComponentName)
    .SetDefaultSubobjectClass<UVertexCharacterMovementComponent>(ACharacter::CharacterMovementComponentName))
    {
    }
  6. Build the project from your IDE and open the editor.

Replace AMyCharacter with your class name. In Blueprint, use Get Character Movement → Cast To VertexCharacterMovementComponent wherever this guide uses Get Vertex Character Movement.

A preset is a named collision shape. This one is a lying capsule for crawling.

  1. Open your character Blueprint.
  2. In the Components panel, select Character Movement.
  3. In the Details panel, search for Shape Presets.
  4. Click + next to Shape Presets and expand the new entry.
  5. Set Name to Crawl.
  6. Expand Shape and set:
    • Shape: Capsule
    • Extent: X 34, Y 34, Z 88 (radius 34, half height 88)
    • Rotation: Y (Pitch) 90, so the capsule lies along the character’s forward direction
  7. Compile and save.

Character Movement Details panel: Shape Presets with the Crawl entry expanded (Name Crawl, Shape Capsule, Extent 34 / 34 / 88, Rotation Y 90).

This toggles crawling with the C key and refuses to stand up under a low ceiling.

  1. In the Content Browser, open the folder with your Input Actions (Third Person template: Input/Actions).

  2. Right-click → Input → Input Action, name it IA_Crawl.

  3. Open your Input Mapping Context (Third Person template: Input/IMC_Default), click + next to Mappings, choose IA_Crawl and set the key to C. Save.

    IMC_Default: Mappings list with IA_Crawl mapped to the C key.

  4. Open your character Blueprint and add a Boolean variable IsCrawling.

  5. In the Event Graph, right-click, search for IA_Crawl and add the EnhancedInputAction IA_Crawl event.

  6. Add Get Vertex Character Movement. Drag from it and add Can Fit Collision Shape Preset.

  7. Add a Select node. Connect its Return Value to Preset Name on Can Fit (this makes its options names). Connect IsCrawling to its Index, then type Crawl into False and Default into True. Default is always the character’s normal capsule.

  8. From the Started pin, add a Branch with the Can Fit result as the Condition.

  9. From True: drag from Get Vertex Character Movement, add Set Collision Shape Preset with the same Select result, then Set IsCrawling to NOT IsCrawling.

    Event Graph: EnhancedInputAction IA_Crawl (Started) to Branch on Can Fit Collision Shape Preset, Select (IsCrawling: False Crawl, True Default), True to Set Collision Shape Preset and Set IsCrawling = NOT IsCrawling.

  10. Use IsCrawling in your Animation Blueprint to play the crawl animation.

  11. Compile, save and press Play. Press C to crawl and C again to stand up.

From False you can play a “no room” sound or simply do nothing.

While playing, press ` (the key above Tab) to open the console and type:

  • show Collision: draws the real collision shape.
  • VAC.Debug 1: shows the movement mode, the preset in use and the shape on screen. VAC.Debug 0 hides it.
  • VAC.Preset Crawl: switches to a preset without any Blueprint. VAC.Preset alone switches back to the normal capsule.

These commands work in the editor and in Development builds, not in Shipping builds.

PIE viewport while crawling: show Collision drawing the lying capsule, and the cyan VAC.Debug 1 line at the top.

Next: How-to Guides.