Godot Version
4.6.1
Question
I have a raycast that always points at the player and will check if it’s colliding. I do know how to make the raycast only send a signal/func when it touches the player specifically, however I have this weird issue where when the raycast collides with the CharacterBody3D the player is controlling, it says it is not colliding…yet “.is_colliding()” still returns true?
if $LOSchecker.is_colliding():
var playerobj = $LOSchecker.get_collider()
print(str($LOSchecker.get_collider_shape()))
In the code above (run on “_process(delta)():”) the raycast should only print to console when it is colliding, yet the collider shape that is printed to console is “0”, which means that it’s not colliding…but for that to be true the code shouldn’t even be running in the first place?