From 74fd9c7ffa1cba3dca13e185d644895bad411463 Mon Sep 17 00:00:00 2001 From: Schaken Date: Mon, 20 Jan 2025 22:49:26 -0500 Subject: [PATCH] Update BoxColliderHelper --- BoxColliderHelper.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/BoxColliderHelper.md b/BoxColliderHelper.md index 2dac786..f919348 100644 --- a/BoxColliderHelper.md +++ b/BoxColliderHelper.md @@ -1,6 +1,14 @@

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.

-
Box%20Collider.png
+ + + + +| 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. |
| +| -------- | -------- | + + + +

Friction

Float: Min 0, Max 1, Default 0.8.

Returns the following Struct:

-
-
public struct CollidableCubeStruct {
+
+```
+public struct CollidableCubeStruct {
     public Vector3 center;
     public Vector3 rotation;
     public Vector3 extent;
     public float friction;
-}
+} +```