> For the complete documentation index, see [llms.txt](https://fantacode.gitbook.io/parkour-and-climbing-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fantacode.gitbook.io/parkour-and-climbing-system/invector-integration.md).

# Invector Integration

### Step 1: Enable Invector support

Enable Invector support from the welcome window (<mark style="color:green;">Tools/Parkour & Climbing System/Welcome Window</mark>)

<div align="left"><figure><img src="/files/QFDqIyQteuEWaXQJywd7" alt=""><figcaption></figcaption></figure></div>

### Step 2: Add parkour and climbing animations

Open Animator Controller from <mark style="color:green;">Assets\Fantacode Studios\Parkour And Climbing System\Game\Animators</mark>, copy all state machines and paste it on your Animator Controller, and enable <mark style="color:green;">**Ik Pass**</mark>

<div align="left"><figure><img src="/files/3bCnJSdsDhVwIOghWA3c" alt=""><figcaption></figcaption></figure></div>

<figure><img src="/files/gzr3H22s5cfxEFy2EUkZ" alt=""><figcaption></figcaption></figure>

### Step 3: Integration&#x20;

You can easily integrate our system into the Invector controller with a single click

Open helper window

<figure><img src="/files/PUx3Ro8sbGkNQu8BRr0N" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/BUGPeCsgLC3I1aW6rmPE" alt=""><figcaption></figcaption></figure>

**Player Template:** Invector controllers such as shooter, melee, or basic&#x20;

**Animator Controller:** Animator controller of the currently assigned player

Assign both fields and click on the **Integrate** button

### Step 4: Comment default jump function calling

**script: vThirdPersonInput**

<div align="left"><figure><img src="/files/Wnnkm6gvbN2jkTIgTjtS" alt=""><figcaption></figcaption></figure></div>

### Step 5: Add ledge movement code

Call our **LedgeMovement** function from the **MoveCharacter** function in the **vThirdPersonMotor** script

<figure><img src="/files/Sfoc33tsTIp6zj38Yjuj" alt=""><figcaption></figcaption></figure>

```csharp
//Code for stopping the player's movement when it's on the ledge
(moveDirection, targetBodyVelocity) = GetComponent<FS_ParkourSystem.ParkourController>().LedgeMovement(moveDirection, targetBodyVelocity);
```

### Add Invector Default jump

Activate the "Vertical Jump" option in the `InvectorIntegrationHelper` script attached to the player.

<div align="left"><figure><img src="/files/G3GL7DGKm7MCfQpN7hix" alt=""><figcaption></figcaption></figure></div>
