Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: WitchTheWicked on December 30, 2011, 07:23:31 PM

Title: Best way to check player is on plane
Post by: WitchTheWicked on December 30, 2011, 07:23:31 PM
I have a world with 2 platforms, Platform A and Platform B.
What is the best way to check to see which platform the player is on?
Title: Re: Best way to check player is on plane
Post by: Dev_Sebas on December 31, 2011, 06:38:24 AM
I think you should try with Controller is Grounded.
Bye
Title: Re: Best way to check player is on plane
Post by: WitchTheWicked on December 31, 2011, 06:28:52 PM
Hi,
My character jumps.
Bye
Title: Re: Best way to check player is on plane
Post by: Dev_Sebas on December 31, 2011, 07:59:38 PM
Good work dude
Bye
Title: Re: Best way to check player is on plane
Post by: jeanfabre on January 02, 2012, 03:38:46 AM
Hi,

 ok, so if your question is actually: what is the best way to check on which platform is a player?, then you need to do the following ( one possible way, many other ways are possible)

hypothesis, platform A and platform B are in distinct physical spaces.

 create colliders for platform A and B. and have triggers on them, when the player enters platform A, you then know that your player is on A, when he leaves Y or enter B etc etc you keep track of where your player is like so.

them triggers can and should be places in strategic locations, for example if platform A can only be accessed from a door, simply have a collider near the door... Else you can alway have a larger collider surouding ALL platform A and another for ALL platform B. the implementation varies a lot depending on what is platform A and B of course.


 Do you have some experience with colliders? how to work with them within playmaker?

If you need a working example, tell me and I'll work something out for you so that you can study how this was implemented.

 Bye,

 Jean