#Detecting edges

12 messages · Page 1 of 1 (latest)

willow steppe
#

I want to make a "Spider AI" that has the ability to climb on walls/roofs

How would I make the ai detect edges greater than 180* so that it can climb them?

Would it require loops or is there a simpler way?

round cedar
#

You want it to calculate the path before doing it?

round cedar
willow steppe
#

Preferably a path first, but, I can do either

sturdy rock
#

I think put multiple raycast, rotate the spider till the last raycast detects something

round cedar
# willow steppe Either

You could just raycast forward and detect when there is a wall then rotate the spider to be parallel to it

#

To know when to stop climping then raycast down to see of there's still a wall

sturdy rock
round cedar
#

Would make it easier for rotation and detection probably

sturdy rock
#

I was thinking about climbing up and down