Bug in RayCaster

Good afternoon, I found another bug.
If you pass the first parameter of the function an array of objects instead of a scene or a specific object, it will cause an error.

Hi!
There are two methods of Raycaster:
.intersectObject() that takes an object in the first parameter.
.intersectObjects() that takes an array of objects in the first parameter.

2 Likes

Sorry, yes its work

Now I have completely finished debugging the movement on the geometric map that is controlled from the server. One more step has been taken.

1 Like