0

I'm a beginner at coding in general. I was trying to create a mini shooting game where you can shoot decals (some sort of colour stain) into any object in the world. To give an illusion of shooting paint into ojects.

I have used SimonDev's tutorial but it doesn't work for me.

Here is a link to the PROJECT

Honestly I have no clue what the problem could be. Any help would be appreciated. Cheers!

Raheel
  • 1

1 Answers1

0

I don't see in your example that raycaster finds intersections with objects on the scene. Try creating an arrowHelper, giving it a direction and a starting position for the ray. To begin with, you will see visually whether the direction of the ray is correct.