Forum rules - please read before posting.

Feature Request: Change Layer Action

Would it be possible to have an action for changing an object's layer? I have a hinge-based door in my level, that is meant to be locked (really just blocked by a collider, which is moved when the player uses the key), but the player can also hold weapons and items. The problem is that the item being held can (and will) smack the door open, or even worse, beyond it's joint limits, glitching around like no tomorrow. To get around it I'd like to be able to have the door initially on the ignore raycast layer, then use an object: change layer action to bring it back onto the default layer when it is unlocked.

Basically that's my request, a new action: Object: Change layer.

Comments

  • Can you use as a replacement Object: Transform ? In it set your Z to whatever desired layer, add movable to your object and Remember Transform components.
  • @SkyTree: I'll try this when I get back to my computer. I had no idea you could set the intended transform between different layers.
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.