I'm trying to make 2 different buildings roofs disappear, made separate on off triggers for each building,
Sequence in 1
SetEnabled(MeshRenderer, true, farm_bldg_a_roof)
in the other
SetEnabled(MeshRenderer, true, farm_bldg_b_roof)
Building a goes on and off properly, but building b only has the roof disappear, on exit the roof doesn't reappear.
I'll make a small demo of this.
Roof hider problem
Re: Roof hider problem
Hi Terry,
Is the exit sequence getting triggered for building b? (If you set Dialogue Manager > Debug Level to Info, it will show you.) If not, here some some things to check:
Is the exit sequence getting triggered for building b? (If you set Dialogue Manager > Debug Level to Info, it will show you.) If not, here some some things to check:
- Trigger is set to OnTriggerEnter
- There aren't any Conditions on the sequence trigger that prevent it from firing
- Sequence references the right GameObject, doesn't have typos
-
- Posts: 97
- Joined: Wed Sep 10, 2014 5:29 pm
Re: Roof hider problem
I asked Hitbear about this, he said, put a collider tagged 'Wall' inside your roof, then the camera will zoom inside
anything tagged "Wall". It kind of works, still might need these trigger things for something else.
anything tagged "Wall". It kind of works, still might need these trigger things for something else.
- Attachments
-
- wall_tag_on_roof.jpg (145.03 KiB) Viewed 568 times