No Methods for RayCast in Godot 3.4.4

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By RobertL

In my 3d game, I am using RayCasts (extending from a kinematic body) to detect points in a staticbody. I am writing my script in C#, but I don’t think that matters.

The problem is, none of the methods that I have tried pertaining to RayCasts in the Godot Docs are recognized, including force_raycast_update() and is_colliding(). To narrow down my problem, I have defined all my nodes in the _Ready() method, and I am working with the RayCast porperties and methods in the _PhysicsProcess() method.

Have you enabled the ray cast in the Editor. They are disabled by default.

magicalogic | 2022-07-09 04:54

Update: I have completely changed my raycasts to code-based (in the Godot physics server), and there are still no methods for Ray-Casting in Godot.

RobertL | 2022-07-09 15:55