# Add Force

In order to create fun, physics-based games, you'll need ways to affect the player's physics component. AddForceView allows you to apply force on the player in specific conditions.

Create an GameObject with **AddForceView** and **GuidComponent**.

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

This applies a force to the player in the direction of the local up of this object. The force is multiplied by Value. You may also specify the Force Mode.

To apply the force, call AddForceView\.ApplyForce().


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.holofair.app/development/features/add-force.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
