jorio / OttoMatic

Pangea Software’s Otto Matic 🤖
https://pangeasoft.net/otto
Other
141 stars 13 forks source link

Saucer abductions from behind a gate #28

Closed foote-darrell closed 7 months ago

foote-darrell commented 7 months ago

Thus update claimed that the saucers won't attempt to abduct the people if there is a closed gate between them. However it just happened in Level 4: Planet Knarr after the first teleported, clearly right behind the gate. How ought this be solved? Screenshot from 2023-11-12 20-32-23 Screenshot from 2023-11-12 20-32-29

jorio commented 7 months ago

The saucer is summoned if a ray can be cast between Otto and the human without crossing any fences or gates.

In this particular case, the slope between Otto and the human is steep enough that the raycast goes straight through the slope without hitting the gate.

I'll sink the gate's collision box deeper into the ground to compensate for the slope.

jorio commented 7 months ago

Fixed, feel free to reopen if that didn't work