-
-
Notifications
You must be signed in to change notification settings - Fork 22.8k
Add cell_size
to HeightMapShape3D
#107617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This seems to correctly size the debug outlines, but not the heightmapshape itself. I think it's because I'm doing this:
I've added "tile_size" in here, but I think I'll need to update something in |
Ok, seems like https://github.com/godotengine/godot/blob/master/modules/godot_physics_3d/godot_shape_3d.cpp#L1675 is significant, will look into that |
This still isn't working as expected. I'll keep looking at it, but if anyone more familiar with the code can point me in the right direction that'd be great 👍 Alternatively any pointers for how to see the location of the generated collision shape itself (not the debug outlines which already seem to be what we want) would be appreciated. I thought I could just change the AABB size and the |
tile_size
to HeightMapShape3D
tile_size
to HeightMapShape3Dcell_size
to HeightMapShape3D
Please avoid pushing several times in a row, make sure you've finished adding new changes before you push (Will run CI once you're done) |
I'm trying a different approach, which is to update |
Closes godotengine/godot-proposals#3870 - adding a cell_size property to HeightMapShape3D.