3D height map
A terrain with hills where 3D physics objects can stand.
Authors and contributors to this community extension: D8H.
Warning
This is an extension made by a community member — but not reviewed by the GDevelop extension team. As such, we can't guarantee it meets all the quality standards of official extensions. In case of doubt, contact the author to know more about what the extension does or inspect its content before using it.
A terrain with hills where objects with the 3D physics behavior can stand.
A terrain can be built from:
- an image file
- noise function (open the project online)
Tip
Learn how to install new extensions by following a step-by-step guide.
3D height map
A terrain with hills in 3D.
Object actions
Update height map
Update the height map. This is done automatically at the end of every frame, but it can be used manually to avoid a 1-frame delay.
Load height map
Load a height map from an image file.
Grid value
Change the field value at a grid index. The value is bewteen 0 and 1.
Object conditions
Field point Z
Compare the field Z for a given position in the scene.
Grid dimension X
Compare the number of points in the grid on X axis.
Grid dimension Y
Compare the number of points in the grid on Y axis.
Grid value
Compare the field value at a grid index. The value is bewteen 0 and 1.
Object expressions
Expression | Description | |
---|---|---|
Object.FieldZ(number, number) |
Return the field Z for a given position in the scene. | |
🔢 Number | X position in the scene | |
🔢 Number | Y position in the scene | |
Object.GridDimensionX() |
Return the number of points in the grid on X axis. | |
Object.GridDimensionY() |
Return the number of points in the grid on Y axis. | |
Object.GridValue(number, number) |
Return the field value at a grid index. The value is bewteen 0 and 1. | |
🔢 Number | X grid index | |
🔢 Number | Y grid index |
3D physics height map
A terrain with hills where 3D physics objects can stand.
No expressions for this behavior.
This page is an auto-generated reference page about the 3D height map extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.