0 votes

I know there's an option to turn on visual debug to view collision and raycast nodes and I have turned this on, but I don't see any raycasts that are created in the script through spacestate.intersectray. Is there a way to show these?

As a side note, is it possible to change colors of individual collision nodes so there's an easy way to visually differentiate one from another when they overlap?

in Engine by (22 points)

1 Answer

0 votes
Best answer

I don't think such queries linger about to even be visualized. As far I can I tell debugging visuals are not drawn for these. I've gone the manual route for these cases. In 2D using the points to draw a line on a canvas _draw(), or in 3D use a unit sized primitive for a mesh, scale it up, position it, and apply a basic FixedMaterial with the color and transparency I prefer.

by (5,206 points)
selected by
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 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 webmaster@godotengine.org with your username.