I have two cubes set up to test these functions, both have layers that can collide, both have box colliders and both have rigid bodies.
Box A’s collider is set as a trigger.
Box B is a normal collider.
Both are next to each other but Box B has a constant force that pushes it into box A.
Box A has a script that runs the code for TriggerEnter & CollisionEnter
When they hit nothing is triggered? Am I missing something?
void onCollisionEnter(Collider other)
{
print("Collided");
}
void onTriggerEnter (Collider other)
{
print("Trigger");
}