playMaker

Author Topic: Game Object Active - On Off / Need help  (Read 1517 times)

san

  • Junior Playmaker
  • **
  • Posts: 93
Game Object Active - On Off / Need help
« on: June 22, 2020, 04:55:25 PM »
Hi all,
- So I want a Capsule to Enter into The Box.
- The Box has trigger enter and turn off the game object (Use Owner) as soon as enter.
- But when Capsule leave "Trigger Exit" I want Box to turn on.

But the issue is ... as soon as Capsule enter into the Box... it Turn Off the Game Object itself and all FSM including Trigger Event. So when Capsule Leave from Box, it is not turn back on.

Is there a way to Turn On remembering Capsule is in the trigger but still Active Game object is Turn off?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Game Object Active - On Off / Need help
« Reply #1 on: June 23, 2020, 01:28:46 PM »
Hi.
What exactly you want to turn of from that box, if you disable it everything is disable within it Fsm / collider / trigger etc

if for example you want to hide the box visual then have the visual stuff in a child object and disable that one so that the trigger and fsm are not disabled.
then on exit enable the child object.

san

  • Junior Playmaker
  • **
  • Posts: 93
Re: Game Object Active - On Off / Need help
« Reply #2 on: June 23, 2020, 06:24:30 PM »
Yup I did that. it work ~! Thanks ~!