> For the complete documentation index, see [llms.txt](https://pmc-docs.gitbook.io/pmc-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pmc-docs.gitbook.io/pmc-docs/variables-and-settings/player-control-and-constraints.md).

# Player Control & Constraints

This section controls how player input affects object movement. Including directional rotation, velocity limits, and jump behavior.

These settings define the **feel**, **responsiveness**, and **player control boundaries** of your physics-based movement.

<figure><img src="/files/9gRG8ZVYW2E5yzdtE23F" alt=""><figcaption></figcaption></figure>

***

### <mark style="color:blue;">Allow Jump</mark>

**Default:&#x20;**<mark style="color:$success;">**Enabled**</mark> <mark style="color:$warning;">**(Recommended)**</mark>

Controls whether the player can perform jump actions while controlling the prop.

***

### <mark style="color:blue;">Enable Directional Rotation</mark>

**Default:&#x20;**<mark style="color:$success;">**Enabled**</mark> <mark style="color:$warning;">**(Recommended)**</mark>

<mark style="color:blue;">Enables directional rotation input.</mark>

When active, calling <mark style="color:blue;">**Set Directional Rotation Input**</mark> (typically bound to an input action) allows the player to rotate the object toward the camera’s facing direction while the input is held.

This allows players to rotate the object toward the camera’s facing direction in real time.

<mark style="color:$warning;">Common use cases:</mark>

* Turning props toward a target direction
* Aligning movement with camera view
* Giving players precise control over object facing

<mark style="color:$success;">Recommended to keep enabled for most gameplay scenarios.</mark><br>

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

***

### <mark style="color:blue;">Override Directional Rotation Mode</mark>

**Default:&#x20;**<mark style="color:red;">**Disabled**</mark>&#x20;

Forces the selected **Directional Rotation Mode** (Front / Back / Left / Right) on all objects.

Useful when you want consistent facing behavior across every prop, regardless of individual mesh orientation.

***

### <mark style="color:blue;">Directional Rotation Mode</mark>

**Default:&#x20;**<mark style="color:$success;">**Front**</mark> <mark style="color:$warning;">**(Recommended)**</mark>

Defines which side of the object is treated as the “forward” direction when rotating toward the camera.

<mark style="color:$warning;">Available modes:</mark>

* Front
* Back
* Left
* Right

<mark style="color:$warning;">Note:</mark>\
This depends entirely on the mesh pivot and orientation.\
Some meshes may require a different mode to behave correctly.

***

### <mark style="color:blue;">Directional Rotation Interpolation Speed</mark>

**Default:&#x20;**<mark style="color:$success;">**6**</mark> <mark style="color:$warning;">**(Recommended)**</mark>

Controls how smoothly the object rotates toward the desired direction.

<mark style="color:$warning;">Higher values:</mark>

* Faster snapping
* More responsive rotation

<mark style="color:$warning;">Lower values:</mark>

* Slower, smoother turns
* More physical feel

Adjust based on how “snappy” you want rotation to feel.

***

### <mark style="color:blue;">Max Velocity</mark>

**Default:&#x20;**<mark style="color:$success;">**550**</mark>

Sets the maximum movement speed of the physics object.

***

### <mark style="color:blue;">Cooldown Duration (Jump)</mark>

**Default:&#x20;**<mark style="color:$success;">**0.05**</mark>&#x20;

Minimum delay between consecutive jump inputs.

Prevents rapid jump spamming and helps maintain consistent jump timing.

***

### <mark style="color:blue;">Max Consecutive Jumps</mark>

**Default:&#x20;**<mark style="color:$success;">**2**</mark>

Defines how many jumps the player can perform before touching the ground.

Once the object lands, the jump counter resets automatically.

Used to control double-jump or multi-jump behavior.

***

### <mark style="color:blue;">Jump Force</mark>

**Default:&#x20;**<mark style="color:$success;">**500**</mark>

Controls how powerful each jump is.

Adjust based on your desired jump height and game feel.
