From fc1cc0cefbb49c2b5d14340ab2e1273a930dc331 Mon Sep 17 00:00:00 2001 From: Schaken Date: Mon, 20 Jan 2025 23:06:42 -0500 Subject: [PATCH] Update BoxColliderHelper --- BoxColliderHelper.md | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/BoxColliderHelper.md b/BoxColliderHelper.md index 19b9ce5..4d4b8d7 100644 --- a/BoxColliderHelper.md +++ b/BoxColliderHelper.md @@ -1,32 +1,30 @@ -

Component: GameObject

+# 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. | ![https://imgur.com/3ptQkjN](https://imgur.com/3ptQkjN) | +| 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. | ![https://i.imgur.com/RaETJS9.png](https://i.imgur.com/RaETJS9.png) | | -------- | -------- | -

Friction

-

Float: Min 0, Max 1, Default 0.8.

- -

Gizmo Color

-

Color: Default Green.

- -
-

API

- -

Returns the following Struct:

+## Friction +Float: Min 0, Max 1, Default 0.8. ++ 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. ++ 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. ++ 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. + +## Gizmo Color +Color: Default Green. ++ Changes the color of the outliner for the Box Collider. + +----- + +# API +GetCollidableBoxStruct() + +Returns the following Struct: ``` public struct CollidableCubeStruct {