Difference between revisions of "R3d.HeightFieldShape.new"
From GiderosMobile
(Created page with "'''Available since:''' Gideros 2019.10<br/> '''Class:''' R3d.HeightFieldShape<br/> === Description === Creates a new collision height field shape (fixture). <source lang=...") |
(No difference)
|
Revision as of 04:12, 23 January 2020
Available since: Gideros 2019.10
Class: R3d.HeightFieldShape
Description
Creates a new collision height field shape (fixture).
r3d.HeightFieldShape.new(width,height,minAltitude,maxAltitude,field)
Parameters
width: (number) the width of the shape
height: (number) the height of the shape
minAltitude: (number) the minimum point altitude of the shape
maxAltitude: (number) the maximum point altitude of the shape
field: (table) the field table of the shape
Example