Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Noah492 on July 14, 2015, 12:31:46 PM

Title: Screen Width and Transform.
Post by: Noah492 on July 14, 2015, 12:31:46 PM
How do I set this up? If the player moves off the screen, he moves to the other side of the screen. I made a global variable called ScreenW that is stored in the action 'Get Screen Width'. I think I will need to use 'Get Position' and 'Set Position'

I have no idea how to set this up and I think I will need some math with ScreenW.

Any ideas?
Title: Re: Screen Width and Transform.
Post by: DarkSoul on July 14, 2015, 01:52:00 PM
Hello,

Maybe Put a 4 colliders [off the screen] when the player enter it , you get position subtract the distance and set position .

I hope this helps.