Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Newby |
i have a box that is kinematic 2d and has 2 raycast on both sides to check for collision but its not working heres the code
func _physics_process(delta):
motion.y+=GRAVITY
if raycast1.is_colliding() or raycast2.is_colliding():
print("true")
it not detecting anything