HeightMapShape

Inherits: Shape < Resource < Reference < Object

Category: Core

Brief Description

Height map shape for 3D physics (bullet only)

Properties

PoolRealArraymap_data
intmap_depth
intmap_width

Description

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

Property Descriptions

Setterset_map_data(value)
Getterget_map_data()

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


Setterset_map_depth(value)
Getterget_map_depth()

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


Setterset_map_width(value)
Getterget_map_width()

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