HeightMapShape

Inherits: Shape < Resource < Reference < Object

Height map shape for 3D physics (Bullet only).

Description

Height map shape resource, which can be added to a PhysicsBody or Area.

Properties

PoolRealArraymap_dataPoolRealArray( 0, 0, 0, 0 )
intmap_depth2
intmap_width2

Property Descriptions

DefaultPoolRealArray( 0, 0, 0, 0 )
Setterset_map_data(value)
Getterget_map_data()

Height map data, pool array must be of map_width * map_depth size.


Default2
Setterset_map_depth(value)
Getterget_map_depth()

Depth of the height map data. Changing this will resize the map_data.


Default2
Setterset_map_width(value)
Getterget_map_width()

Width of the height map data. Changing this will resize the map_data.