Update BoxColliderHelper
parent
193e074865
commit
fc1cc0cefb
|
@ -1,32 +1,30 @@
|
||||||
<h1 ><span>Component: GameObject</span></h1>
|
# Component: GameObject
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
| The component attached to the Box Collider. We use this as a simple way to retrieve information from the Box Collider in one call and send the information to the GPU. |  |
|
| The component attached to the Box Collider. We use this as a simple way to retrieve information from the Box Collider in one call and send the information to the GPU. |  |
|
||||||
| -------- | -------- |
|
| -------- | -------- |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2 id="toc1"><span>Friction</span></h2>
|
## Friction
|
||||||
<p>Float: Min 0, Max 1, Default 0.8.</p>
|
Float: Min 0, Max 1, Default 0.8.
|
||||||
<ul>
|
+ Low Friction (e.g., 0.1): The cloth will slide more easily over the surface. It will maintain more of its velocity when colliding with the collider.</li>
|
||||||
<li>Low Friction (e.g., 0.1): The cloth will slide more easily over the surface. It will maintain more of its velocity when colliding with the collider.</li>
|
+ High Friction (e.g., 0.9): The cloth will "stick" more to the surface. It will lose more of its velocity when colliding with the collider.</li>
|
||||||
<li>High Friction (e.g., 0.9): The cloth will "stick" more to the surface. It will lose more of its velocity when colliding with the collider.</li>
|
+ High Friction (e.g., 1.0): The cloth will behave as if it's "stuck" to the surface, maintaining its position relative to the collider.</li>
|
||||||
<li>High Friction (e.g., 1.0): The cloth will behave as if it's "stuck" to the surface, maintaining its position relative to the collider.</li>
|
|
||||||
</ul>
|
## Gizmo Color
|
||||||
<h2 id="toc2"><span>Gizmo Color</span></h2>
|
Color: Default Green.
|
||||||
<p>Color: Default Green.</p>
|
+ Changes the color of the outliner for the Box Collider.
|
||||||
<ul>
|
|
||||||
<li>Changes the color of the outliner for the Box Collider.</li>
|
-----
|
||||||
</ul>
|
|
||||||
<hr>
|
# API
|
||||||
<h1 id="toc3"><span>API</span></h1>
|
GetCollidableBoxStruct()
|
||||||
<ul>
|
|
||||||
<li>GetCollidableBoxStruct()</li>
|
Returns the following Struct:
|
||||||
</ul>
|
|
||||||
<p>Returns the following Struct:</p>
|
|
||||||
|
|
||||||
```
|
```
|
||||||
public struct CollidableCubeStruct {
|
public struct CollidableCubeStruct {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user