Collisions in Editor Test Runner
I am coding a test using Editor Tests. I am trying to move a cube to the same X and Y coordinates of a sphere and then I try to apply a small force so the collision detection can detect a collision and call the OnCollisionEnter method (its a 2d game but need to use normal 3d physics for ..reasons). The idea is checking if they are in the same Z coordinate and making sure that they will collide when the user moves the circle toward the sphere. When I run the test, the OnCollisionEnter method never executes, but when I run the actual games it does. What is happening here? Can someone help me with this? (I also tried to call WakeUp method in their rigid bodies... but nothing changed).
How about you make a small project with just the test scene and what's required to run it, for us to get a better understanding of your setup?
Your answer
Follow this Question
Related Questions
Player/platform collision not detected 1 Answer
Problem with collision 1 Answer
OnCollisionEnter2D not getting called 2 Answers
Changing light color between players when they collide (BOLT) 0 Answers