# Ragdoll Demo

## Ragdoll Demo

The Ragdoll Demo shows an navigating AI being damaged by a collision with a boulder. When the damage happens, it kills the AI, activates its ragdoll components, and allows it to tumble down a cliff driven by physics. Damage is dealt through an example script called DamageAIByCollision. Users can also use this script as an example to see how to damage an AI from an external source.&#x20;

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


---

# 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://black-horizon-studios.gitbook.io/emerald-ai-wiki/getting-started/included-demo-scenes/ragdoll-demo.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.
