Forum rules - please read before posting.

Scene switch

Hi.

I have my 'trigger 2D' box in scene A. Sensitive to player entry. Action switch scene by name is selected.

Build settings include scene A and scene B.

I've put in a 'player start' in scene B referencing scene A as origin.

But when playing, and the player enters the trigger area, nothing happens.

I'd be really grateful if someone could quickly point out what I might have missed!

Thanks.

Chris.


Comments

  • Welcome to the community, @quantum_mango.

    2D Triggers are only detected if both objects have 2D colliders on them, and at least one of them has a Rigidbody2D component - this is down to how Unity's designed them.

    Those components should have been added to your player automatically if you used the Character Wizard to create him, but you can add them manually if necessary as well.

    The provided 2D demo's character, Brain2D, has these components configured so you can compare with him (or even temporarily assign as your player prefab) to see what's necessary.
  • That's what it was. Thank you.
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.