Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Gav (HeyBud) on February 02, 2014, 02:40:21 PM
-
Is this possible to do with playmaker? I'd like to have a 2d circle collider and be able to have player run around on it's surface in players X axis. Could i achieve this somehow with Set Gravity 2D action? ::)
-
Hi,
yes, you could. You would simply set the gravity as the player moves around to adjust the gravity based on where he is.
bye,
Jean
-
Hi Jean, thanks for the reply.
I should clarify that I'd like everything on the circle to adhere to the gravity anywhere on the surface, like a planet. I was hoping to have enemies and other game objects also stick on the surface in different places.
I would imagine that if the gravity changes with the character, that would mean objects/NPCs on opposite side of circle would fly away into space. Or am I wrong would I just need to set the gravity as the player moves to adjust it where he is?
Thanks, :)
Gavin
-
Hi,
no, you will have to do this for all objects, as their gravity direction will each be unique.
also, check this out, it may be exactly what you need.
http://lanemax.blogspot.com/
bye,
Jean
-
Ah, that makes sense. Thanks for what you do, man. I'm sure I'll need help again in the future. I'll look into those tutes, too.