Stop the actor to go out of the camera view?
I have a actor that can be moved when pressed/touched, but when the user moves it around it can also be moved outside the camera view. Is it a way to make it collide with the "wall" of the camera? So the actor don´t go out of the screen?
![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
Comments
Now create a wall actor and make the wall actors restitution to 0
And uncheck moveable. Make a collision behaviour in the main actor.
Collide with walls. And put those walls on both sides of the screen. And that will keep your player on the screen
Oh and also of you don't want the walls to be seen uncheck visible.