Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: hy on June 27, 2017, 01:45:48 AM

Title: Players cannot go through collider
Post by: hy 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?
Title: Re: Players cannot go through collider
Post by: tcmeric 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).
Title: Re: Players cannot go through collider
Post by: hy 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?
Title: Re: Players cannot go through collider
Post by: tcmeric on June 27, 2017, 10:29:38 PM
A collider must be on and set as a trigger to work.

See my image.
Title: Re: Players cannot go through collider
Post by: hy on June 28, 2017, 09:59:48 AM
OK, thanks. player cannot go through it, is that because player has nev mesh on him?