R3d.HeightFieldShape.new
From GiderosMobile
Revision as of 03:12, 23 January 2020 by MoKaLux (talk | contribs) (Created page with "'''Available since:''' Gideros 2019.10<br/> '''Class:''' R3d.HeightFieldShape<br/> === Description === Creates a new collision height field shape (fixture). <source lang=...")
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