R3d.HeightFieldShape.new

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