Hi,
I have a simple object with the following hierarchy:
cube (rigidbody, physical box collider)
|______gameobject (box collider with is larger than cube. Collider is Trigger. simple ontriggerenter script)
Questions:
I have a simple object with the following hierarchy:
cube (rigidbody, physical box collider)
|______gameobject (box collider with is larger than cube. Collider is Trigger. simple ontriggerenter script)
Questions:
- am trying to detect hit from assault rifle (hitscan) on the gameobject so that I can activate something else on the cube. I am struggling to get this to work, is there a solution?
- I through maybe the hitscan trigger interaction would be the answer, however when I set this to collide, it physically collides and the ontriggerenter doesn't fire. Is this how its supposed to work?