On this page
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
Property Descriptions
PoolRealArray map_data
Default | PoolRealArray( 0, 0, 0, 0 ) |
Setter | set_map_data(value) |
Getter | get_map_data() |
Height map data, pool array must be of map_width * map_depth size.
int map_depth
Default | 2 |
Setter | set_map_depth(value) |
Getter | get_map_depth() |
Depth of the height map data. Changing this will resize the map_data.
int map_width
Default | 2 |
Setter | set_map_width(value) |
Getter | get_map_width() |
Width of the height map data. Changing this will resize the map_data.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_heightmapshape.html