I created a scene where when pressing the left mouse button a cube moves I expected it to collide with another cube and stay still like someone hitting a wall. But he goes through the other.
The cubes have a meshcollider “child” both on the same layer.
I also put the “collision data”
Do I need to activate something for physics to work?
in physics settings I already activated layers and support cooking at runtime.
I also did a build but the game did not open it gave the following error: “Failed to initialize GameSettings.”