R3d.ConvexMeshShape.new

Available since: Gideros 2019.10
Class: R3d.ConvexMeshShape

Description

Creates a new collision convex mesh shape (fixture).

r3d.ConvexMeshShape.new(vertices,indices,faces)

Parameters

vertices: (table) the vertex array table
indices: (table) the index array table
faces: (table) the face array table

Example