#What is the best way to detect height changes in a map

1 messages · Page 1 of 1 (latest)

worthy zealot
#

Say you have a terrain ,maze , or a structure
What is the best way you guys think is best to detect major changes in height that would classify that change as a "point of obstacle"

In this example he uses changes in the height map of the terrain to figure it out

Raycasting maybe? I'm afraid it may impact preformance because of the multiple raycasts

Let me know your thoughts

peak spoke
#

Major changes in height in which way?

#

While it’s being generated? Or is the map changing

worthy zealot
#

I'm keeping it static for the time bieng

#

Assuming there's a large steep mountain/hole that should be unwalkable

#

I want to discover the sudden change in height to place a point in that said position where the change occurred

#

I think raycast is the only option

peak spoke
#

Yes raycasting

#

If the map is static and not generated you could precompute this stuff too