Forum rules - please read before posting.

Visibility of Objects

I've been trying to hide and then show an object in the scene. I place remember visibility on it and disable it. But when I tell the object to be visible, it doesn't work. I've had to teleport the object instead. What am I doing wrong exactly?

Comments

  • Make sure "Affect children?" is checked on in Object: Visibility?
  • I believe that was done.
  • Huh, it appears to work now. Perhaps I didn't check that. I'm not sure. Is there a way to do a similar affect, but not have the collider still there when its invisible? That's why I would teleport the object instead of just make invisible.
  • If you attach the AdventureCreator/Scripts/Logic/_Collision.cs component to a Collider, you can use the Object: Send message Action to pass "Turn On" and "Turn Off" messages to it.

    It might be easier, however, to control the visibility / collider trigger values together through animation, and then control the animation playback at runtime using the Object: Animate Action.
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.