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>")
 
(One intermediate revision by the same user not shown)
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>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
Line 13: Line 13:
  
 
=== Example ===
 
=== Example ===
<source lang="lua">
+
<syntaxhighlight lang="lua">
</source>
+
</syntaxhighlight>
  
 
{{R3d.ConcaveMeshShape}}
 
{{R3d.ConcaveMeshShape}}

Latest revision as of 15:32, 13 July 2023

Available since: Gideros 2019.10
Class: R3d.ConcaveMeshShape

Description

Creates a new collision concave mesh shape (fixture).

r3d.ConcaveMeshShape.new(vertices,indices)

Parameters

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

Example