#Create a sensor using Area2D

1 messages · Page 1 of 1 (latest)

thick token
#

This doesn't produce errors and warnings?

hoary plover
#

The code that's supposed to create the shape inside the mentioned function is completely wrong I think.

thick token
hoary plover
#

I must be confused with Godot 3.
Apart from that, do you have any criticism on that in general?

thick token
#

When you eliminate all the bugs so it can actually run I'll be happy to take another look at it 😉

hoary plover
#

fair 😛

thick token
#

Looks good to me. I don't know what's up with the cone, if its supposed to be concave you need to switch to a concave shape obviously.

Btw deg_to_rad() is a built-in function 😉

hoary plover
#

You can't just change the type from convex to concave. If you try then it upgrades from a warning, to an error 😄