#Issues with raycast and collisions.

1 messages · Page 1 of 1 (latest)

dapper dagger
silk ravine
#

is there a specific reason as to why you are not using collisions?

#

Changing position does not update the physics state. You have to use the designated methods like move_and_collide() or move_and_slide()

#

And preferably run them on _physics_process()

cerulean shuttle
#

After ray.Rotation try to run force_raycast_update()

dapper dagger
#

Not efficient, but it works.