+1 vote

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 forceraycastupdate() 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.

Godot version 3.4.4
in Engine by (15 points)

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

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.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.