Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | code |
hi,
trying to create an enemy sprite that will turn when he reached the edge
using raycast2d but am having a kind of issue in which the raycast is colliding with
the collision shape of it parent and it is causing funny movement even when i use
$Raycast.excludeparent and $raycast.add_exception(the name of the node) it still
not working pls i will apperciate if there is someone that can help me
Thank You
Can you like the code that you use to archive, the now still buggy behaviour?
coffeeDragon | 2018-07-25 09:15