Difference between revisions of "R3d.ConcaveMeshShape.new"

From GiderosMobile
(Created page with "'''Available since:''' Gideros 2019.10<br/> '''Class:''' R3d.ConcaveMeshShape<br/> === Description === Creates a new collision concave mesh shape (fixture). <source lang=...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
Creates a new collision concave mesh shape (fixture).
 
Creates a new collision concave mesh shape (fixture).
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
r3d.ConcaveMeshShape.new(vertices,indices)
 
r3d.ConcaveMeshShape.new(vertices,indices)
 
</source>
 
</source>
Line 13: Line 13:
  
 
=== Example ===
 
=== Example ===
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
</source>
 
</source>
  
 
{{R3d.ConcaveMeshShape}}
 
{{R3d.ConcaveMeshShape}}

Revision as of 14:30, 13 July 2023

Available since: Gideros 2019.10
Class: R3d.ConcaveMeshShape

Description

Creates a new collision concave mesh shape (fixture). <syntaxhighlight lang="lua"> r3d.ConcaveMeshShape.new(vertices,indices) </source>

Parameters

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

Example

<syntaxhighlight lang="lua"> </source>