HeightMap : Collision and Visual Aspect mismatch #1658
Labels
help wanted
Indicates wanting help on an issue or pull request
type: bug
Indicates an unexpected problem or unintended behavior
Environment
Description
Collision Engine used : ODE
When creating a heightmap of a given size , the visual and collision aspects are not aligned as one would expect.
Below is an image with a HeightMapShape (blue) of width = depth = 2, and a BoxShape (Green) with width = depth = 2 and balls spaced at even distance dropped on them.(Gravity is enabled and the balls are in contact with the surface)
The BoxShape is translated by 1 unit in the -z direction
Expected behaviour would be ,visual and collision aspect of heightmap should be aligned.
The observed result is as seen, the visual aspect seem to be translated with respect to the collision aspect for the heightmap.
This is the code for my HeightMap
I am not sure if this is really a bug , or if it is just me doing something wrong here.
Would be great if someone with expertise on the matter could guide me with this.
Thanks in advance.
The text was updated successfully, but these errors were encountered: