Drawing Raycasts?

I’m having trouble with my raycast and I want to draw it. Is there a way to draw a raycast or something equivalent?

Kinda sorta
You can’t draw raycast
But you can draw with sp whatever you would raycast

Don’t read that crap just look on events in my post

1 Like

I know you can draw a line from a specific point to another but am I able to draw a line using an angle and a specified length instead?

I like to use this. Angle can be anything. This uses the object’s angle. It then draws a circle at the intersection.

Better view

3 Likes

just tried that and for some reason my newshapepainter isn’t showing up for some reason

Have you dragged an instance of the NewShapePainter object into the scene and onto a visible layer?

I think so

Here are the properties. Also it’s located in scene objects just like all the other objects. (it’s on the base layer)

Those are the properties of the ShapePainter object in the Objects list. You need an instance of it in the scene (as it is on the left in my screen snip below, I’ve got grid displayed). The properties of that look something like:

image

1 Like

Unless the shape painter is at 0,0 then you’ll need to uncheck draw shapes relative otherwise the line won’t be insync. IDK why it says “use absolute coordinates” on the one spot.

ye it works. I put it at 0, 0 and everything is cool. Thanks for the help everyone! :slight_smile:

1 Like