Open cbscribe opened 3 years ago
is_colliding() doesn't work in godot 3.3.2, what function can I use instead?
What do you mean "doesn't work"? Raycast functionality is no different in any 3.x version of Godot.
I got this message: Invalid call. Nonexistent function 'is_colliding' in base 'CollisionShape'.
Sorry for my ignorance, I started studying Godot recently
is_colliding()
is a method of RayCast, not of CollisionShape. You're apparently trying to call it on the wrong object.
So RayCast doesn't have to be a CollisionShape node? I think that was my mistake.
Yes, RayCast is a node.
Discussion for http://godotrecipes.com/3d/kinematic_car/car_slopes/