playMaker

Author Topic: Players cannot go through collider  (Read 1413 times)

hy

  • Playmaker Newbie
  • *
  • Posts: 6
Players cannot go through collider
« on: June 27, 2017, 01:45:48 AM »
i did FSM similar to this,

see attached for my FSMs.

basically what i am trying to do is when player approach/enter room, player will be transported to another position/scene that was appended to current scene.

But player kept got blocked by the collider, why is that? what shall i do?

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Players cannot go through collider
« Reply #1 on: June 27, 2017, 01:56:46 AM »
On the gameobject with the collider. Go there in the insepctor. Make sure the collider is clicked off to be a trigger. (Look for a checkbox).

hy

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Players cannot go through collider
« Reply #2 on: June 27, 2017, 10:19:13 PM »
I un-clicked collider on Temple and left trigger checked underneath the collider. But my FSM is still not working, can you tell what is wrong from my attached scripts?

My goal is when player enter temple, the player will be transported to a different position and this different position is in another scene, I added trigger to the temple and player has rigidbody. Do i also need to add state to load the other scene the player will be transported to?

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Players cannot go through collider
« Reply #3 on: June 27, 2017, 10:29:38 PM »
A collider must be on and set as a trigger to work.

See my image.

hy

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Players cannot go through collider
« Reply #4 on: June 28, 2017, 09:59:48 AM »
OK, thanks. player cannot go through it, is that because player has nev mesh on him?