PlayCanvasSceneCreator 1.0.9
|
Public Types | |
enum | Type { mesh , box , capsule , sphere , cylinder , cone , compound } |
Public Attributes | |
bool | enabled |
| |
string | type |
float[] | halfExtents = new float[] { 0, 0, 0 } |
| |
float | radius |
| |
int | axis |
| |
float | height |
| |
string | asset = "null" |
string | renderAsset = "null" |
float[] | linearOffset = new float[] { 0, 0, 0 } |
| |
float[] | angularOffset = new float[] { 0, 0, 0 } |
float [] Playcanvas.Properties.Collision.halfExtents = new float[] { 0, 0, 0 } |
new float[] { size.x * localScale.x / 2, size.y * localScale.y / 2, size.z * localScale.z / 2 },
float Playcanvas.Properties.Collision.height |
radius * 2 > height ? radius * 2 : height
float [] Playcanvas.Properties.Collision.linearOffset = new float[] { 0, 0, 0 } |
new float[] { -center.x, center.y, center.z }