Answer the question
In order to leave comments, you need to log in
How to make it so that when one cube collides with another cube, a function is called in three.js?
Good day :) I have two cubes in three js, please tell me how to make a certain function be called when they collide?
Answer the question
In order to leave comments, you need to log in
This is called a collision. You can look for more examples. Here is one with code.
https://threejs.org/examples/?q=physics#physics_am...
https://github.com/mrdoob/three.js/blob/master/exa...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question