Component
Physics
(NOTE) Defines the collision for a generic mesh from a collection of triangles ( PhysicsMesh resource). This collider type is not expected to have a dynamic or kinematic RigidBody.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
Constructor | DrawEdges | collider | |
DrawFaceNormals | |||
DrawFaces | |||
PhysicsMesh |
Properties
DrawEdges : boolean
Whether to debug draw the edges of each triangle.
var DrawEdges : Boolean
DrawFaceNormals : boolean
Whether to debug draw the normals of each triangle.
var DrawFaceNormals : Boolean
DrawFaces : boolean
Whether to debug draw the faces of each triangle.
var DrawFaces : Boolean
PhysicsMesh : physicsmesh
The mesh resource used to define collision. This mesh is just a surface mesh of triangles (no volume is defined).
var PhysicsMesh : PhysicsMesh
Methods
MeshCollider : Void
constructor
Name Type Description function MeshCollider()