Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | mrsandman |
Is there anything better than the following ? (For Godot 3)
var collision_info = get_node("whateverNodeYoureMoving").move_and_collide(speed * delta * motion.normalized())
if collision_info:
var bodyHit = (collision_info.collider())
Thanks a lot !
2 sprites or bodies? It looks like you are using kinematic bodies.
eons | 2018-08-12 16:26