Skip to content
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

Use Heightmap Collision Shape for terrain layer colliders #242

Closed
kb173 opened this issue Dec 21, 2020 · 3 comments
Closed

Use Heightmap Collision Shape for terrain layer colliders #242

kb173 opened this issue Dec 21, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@kb173
Copy link
Member

kb173 commented Dec 21, 2020

1:1 fit of collider to terrain, generation on-the-fly

Fixes #56

@kb173
Copy link
Member Author

kb173 commented May 14, 2021

The collision code was updated in b9c5c4d, but Godot 3.4 will bring an even better feature for this, which makes all our collider generation redundant:

godotengine/godot/pull/47349

This not only makes things easier for us, but it might also improve performance quite significantly!

@kb173 kb173 changed the title Implement efficient collider in new terrain renderering system Use Heightmap Collision Shape for terrain layer colliders May 14, 2021
@kb173 kb173 added the godot-issue This issue is based upon a problem in the engine itself label May 14, 2021
@kb173 kb173 removed the godot-issue This issue is based upon a problem in the engine itself label Jun 8, 2022
@kb173
Copy link
Member Author

kb173 commented Jun 8, 2022

https://docs.godotengine.org/en/stable/classes/class_heightmapshape.html

We need to get a PoolFloatArray of our heightmap, it's probably best to add this to Geodot

@kb173
Copy link
Member Author

kb173 commented Oct 19, 2022

https://docs.godotengine.org/en/stable/classes/class_heightmapshape.html

We need to get a PoolFloatArray of our heightmap, it's probably best to add this to Geodot

Opened a Geodot issue for this: boku-ilen/geodot-plugin#68

@kb173 kb173 closed this as completed Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant