Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started 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?
-
I think you should try with Controller is Grounded.
Bye
-
Hi,
My character jumps.
Bye
-
Good work dude
Bye
-
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