Update BoxColliderHelper
parent
1a294941e4
commit
74fd9c7ffa
|
@ -1,6 +1,14 @@
|
|||
<h1 ><span>Component: GameObject</span></h1>
|
||||
<p>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.</p>
|
||||
<div><a href="https://imgur.com/3ptQkjN"><img src="http://gpuclothphysics.wdfiles.com/local--resized-images/boxcolliderhelper/Box%20Collider.png/medium.jpg" alt="Box%20Collider.png" class="image"></a></div>
|
||||
|
||||
|
||||
|
||||
|
||||
| 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. | <blockquote class="imgur-embed-pub" lang="en" data-id="a/FbrC4tB" data-context="false" ><a href="//imgur.com/a/FbrC4tB"></a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script> |
|
||||
| -------- | -------- |
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 id="toc1"><span>Friction</span></h2>
|
||||
<p>Float: Min 0, Max 1, Default 0.8.</p>
|
||||
<ul>
|
||||
|
@ -19,10 +27,12 @@
|
|||
<li>GetCollidableBoxStruct()</li>
|
||||
</ul>
|
||||
<p>Returns the following Struct:</p>
|
||||
<div class="code">
|
||||
<pre><code>public struct CollidableCubeStruct {
|
||||
|
||||
```
|
||||
public struct CollidableCubeStruct {
|
||||
public Vector3 center;
|
||||
public Vector3 rotation;
|
||||
public Vector3 extent;
|
||||
public float friction;
|
||||
}</code></pre></div>
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user