> 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

This system can be easily integrated into Invector controllers.

### 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="https://2072522777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFBh2TZqtexSybhI3ygp%2Fuploads%2FC1BTHQdNjqRvvi6kYcGu%2FScreenshot%202024-02-08%20184234.png?alt=media&amp;token=0b90d67e-5357-4601-99c9-4a4c3b140760" 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="https://2072522777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFBh2TZqtexSybhI3ygp%2Fuploads%2FkbVT02tAJgpZJzSiGVwk%2FPV%20(1).png?alt=media&amp;token=85aa924f-8e4a-47b6-8e50-719ff66eec4e" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://2072522777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFBh2TZqtexSybhI3ygp%2Fuploads%2FF9sSWCZLw9Nl2PejW8dP%2FScreenshot%202023-11-01%20174925.png?alt=media&amp;token=33e9eb67-9d8e-451d-9e4e-a44aee3998c4" 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="https://2072522777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFBh2TZqtexSybhI3ygp%2Fuploads%2FY1m83uJPXhgXXAo625zy%2FScreenshot%202024-02-08%20185203.png?alt=media&amp;token=b79b9213-2706-413d-897d-c0f6008ffbf5" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2072522777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFBh2TZqtexSybhI3ygp%2Fuploads%2FTsdsazhRX4CDSEt1QiEf%2FScreenshot%202023-11-01%20182001.png?alt=media&amp;token=64fc21cb-f974-4053-8640-416c34619fc2" 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="https://2072522777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFBh2TZqtexSybhI3ygp%2Fuploads%2FD54V7Mh2V8KQzluFPVAD%2FScreenshot%202024-04-02%20143327.png?alt=media&amp;token=d48ba02c-4a50-43df-bd46-b53a2cb14599" 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="https://2072522777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFBh2TZqtexSybhI3ygp%2Fuploads%2Fye2nPSTC5NoZxLFcQdQz%2FScreenshot%202024-02-16%20183629.png?alt=media&amp;token=5790f0e6-86e6-47b6-9a2a-f12f7e46c440" 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="https://2072522777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJFBh2TZqtexSybhI3ygp%2Fuploads%2FCrcsVAXC2BUFikG6x2Zd%2FScreenshot%202024-08-13%20153831.png?alt=media&amp;token=3cc34b13-4694-444b-b52b-e4e83080ac88" alt=""><figcaption></figcaption></figure></div>
