Answers for "how to check for trigger collision in unity"

C#
1

how to have is trigger on but also have collisions

Attach an empty GameObject to the GameObject and center it to the parent
Add a collider and resize to fit the GameObject
Assign the player and the empty GameObject to a layer
go to Edit > Project Settings > Physics
uncheck collision between player layer and empty collider layer
Posted by: Guest on August-23-2020
0

unity trigger not detecting collision

// try adding a rigidbody to both of you GameObjects, you can uncheck use gravity,
// check isKinematic and set collision detection to contiuous
Posted by: Guest on October-20-2021

C# Answers by Framework

Browse Popular Code Answers by Language