# Buoyant Body

{% hint style="success" %}

#### Like what your seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

![](/files/5i2KEjCutLcMcyRKcr7p)

Used with the Surface Tool component to simulate the effect of buoyancy on a rigidbody.

### Fields and Attributes

### Buoyancy Magnitude

Effectively the gravity applied to the buoyant body, the force of buoyancy is the inverse of this value multiplied by the volume of the subject which is submerged below the surface.&#x20;

### Active Surface

A reference to the active [Surface Tool](/old-kb/toolkit-for-physics/physkit/components/surface-tool.md) this is used to find the surface level and density of the environment the subject is floating in.

### Calculation Mode

The [CalculationMode ](/old-kb/toolkit-for-physics/physkit/enums/calculation-mode.md)to use when simulating the upward force.&#x20;

* Fast\
  A basic bounding volume based calculation&#x20;
* Simple\
  Same as fast but adds an additional calculation to self right the floating subject
* Complex\
  Uses the Physics Data hull and volume information to simulate buoyant force per vertex

### Submerged Ratio

The percentage of the attached [Physics Data](/old-kb/toolkit-for-physics/physkit/components/physics-data.md) that is submerged under the active surface tool and thus applying a buoyant force.


---

# 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://kb.heathen.group/old-kb/toolkit-for-physics/physkit/components/buoyant-body.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.
