[Solved] Shape not painting when using raycast

how come the shape isn’t painting? the ray itself works but it won’t paint a shape.


Hi, did you put the shape painter object in your scene?

If it is not created in the events, it has to be dropped in the scene somewhere to work.

1 Like

Keep in mind the line will only be drawn if the raycast hits an Enemy object, which is within 128 pixels in front of where the player is facing (remember the player image used for the animations has to facing left).

that was the issue tysm :pray:

1 Like