Skip to content

Solving ground position in noise generated background world? #373

Closed Answered by TokisanGames
FishOfTheNorthStar asked this question in Questions
Discussion options

You must be logged in to vote

Terrain3D::get_intersection() uses a visual, GPU based raycaster which gives an accurate position of the ground anywhere. That could feed into get_height() and our dynamic collision generator when outside of regions.

The GPU can report normals, but it adds texture normals so it's way too jittery. But we could adapt get_normal() to use 3 get_intersections() outside of regions instead.

See https://twitter.com/TokisanGames/status/1753549183183921624

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TokisanGames
Comment options

Answer selected by FishOfTheNorthStar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants