How do I make an object that I can control not move when another object collides with it?
sSHAKESs
Member Posts: 27
Hello, GameSalad peeps!!! =D
I'm new here and getting so excited! I've been playing around with the program and trying to make a simple Pong game. And I've tried searching the forums and doing all kinds of settings but I still can't solve this problem.
Basically, when the ball hits my paddle, the paddle flies around! It's funny to look at but it's not what I want. =(
I'm new here and getting so excited! I've been playing around with the program and trying to make a simple Pong game. And I've tried searching the forums and doing all kinds of settings but I still can't solve this problem.
Basically, when the ball hits my paddle, the paddle flies around! It's funny to look at but it's not what I want. =(
Comments
Next you can use the Constrain Attribute in your paddle and constrain it to the X position you want to use. this will most likely work with your current movement system. You just want to be careful with how much you use the constrain behavior as it can pull down the performance of your game if you use to many. just a couple in the scene though is not going to hurt anything.