problem with constrain position and collide
hi,
i have an actor that constrain self.position.x to game.mouse.position.x and also a collide behavior with another actor. the problem is simple: the actor doesn't collide with the other actor!!
what's the problem??
i have an actor that constrain self.position.x to game.mouse.position.x and also a collide behavior with another actor. the problem is simple: the actor doesn't collide with the other actor!!
what's the problem??
Best Answers
-
JohnPapiomitis Posts: 6,256
Constrains override collide.
Go to gshelper.com he has a video for a workaround.
Answers
http://gshelper.com/constrain-to-mouse-and-keep-collision-gamesalad/