Thank for the reply. However, I tried OnTriggerEnter/OnTriggerExit, and it did not work at all. For instance, when I hit at the scripted window using Assault Rifle, the window never detected the collision or triggerEvent from bullets. It only detected the collision event when my character dies on top of them. Do you have any idea why?Have you tried replicating the automatic doors from the demo scene? Take a look at how their trigger collider and Door component is set up.
On your door object, you'll need to have a trigger collider and a component which detects the player entering/exiting the trigger using OnTriggerEnter/OnTriggerExit.
Thanks for that Justin.For the assault rifle you can use the OnObjectImpact event:
Shootable Weapon - Opsive
The Shootable Weapon Item Action allows the character to attack using a ranged object such as an assault rifle or a bow and arrow. The . . .opsive.com
The character never actually collides with any objects:
Detecting Collisions with UCC
I am having a hard time getting my character to detect a collision (using third person character controller). I know I'm missing something super obvious (and it might not be related to the UCC), but I can't figure out what the problem is. I started a new scene. Set up a character. Create a...opsive.com