Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ItSubCreating |
So for a project im using walls as a Area2D and doing the same for the player, but it detects the same for both, i tried coding the variable for each but it still keeps detecting the same for both. Do i need to be more specific and add names for each node or is it an error with the coding (i mostly think it’s a problem with the coding)
var wall = Area2D
var p = Area2D
if ($RayCast2D.is_colliding()):
queue_free()