R3d.ConcaveMeshShape.new: Difference between revisions
From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight" |
m Text replacement - "</source>" to "</syntaxhighlight>" |
||
| Line 6: | Line 6: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
r3d.ConcaveMeshShape.new(vertices,indices) | r3d.ConcaveMeshShape.new(vertices,indices) | ||
</ | </syntaxhighlight> | ||
=== Parameters === | === Parameters === | ||
| Line 14: | Line 14: | ||
=== Example === | === Example === | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
</ | </syntaxhighlight> | ||
{{R3d.ConcaveMeshShape}} | {{R3d.ConcaveMeshShape}} | ||
Revision as of 13: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