Forum rules - please read before posting.

Trigger with game object

Hi all, I'm using version 1.40b and for the first time I used the trigger action for a game object (usually I used it only for the player).
There's something particular (a script or what) to put in that game object? 
Because when the game object (a rock) pass through the trigger, the action (a sound with slow motion) isn't performed. In the trigger I selected the specific game object but nothing.
Reading on the manual nothing is specified... surely i'm missing some point...
Tx

Comments

  • Does your rock have a Collider on it?  You may need to uncheck Is Trigger, and possibly even add a Rigidbody component.  AC's Trigger prefab has the same requirements as Unity's regular collision system.
  • The rock has both, collider with "is trigger" unchecked and the rigidbody component.

    But I found where the problem is!

    When I click on the button to let the rock fall, the interaction script is set as "Pause gameplay", and the trigger doesn't work.
    If I change it to "Run in background" it works! So when the rock hit the trigger, the sound is played.

    It's normal? 
  • It depends on what your Actions inside it are - but if it works, it works!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.