Breakout Game - Working with Gravity
Hi!
I am making a simple Breakout game for little kids to put inside of my app as a diversion from the "work" part of the application. I would like to have a rotating object in the center of my scene that will send the pinball in random direction when the ball strikes it. However, because I have gravity on, I can't seem to find a way to rotate it without it looking like it is "floating" in space instead of being "pegged" in place. Does anyone know how to work around this?
Thanks for your help!
Charles
I am making a simple Breakout game for little kids to put inside of my app as a diversion from the "work" part of the application. I would like to have a rotating object in the center of my scene that will send the pinball in random direction when the ball strikes it. However, because I have gravity on, I can't seem to find a way to rotate it without it looking like it is "floating" in space instead of being "pegged" in place. Does anyone know how to work around this?
Thanks for your help!
Charles
Comments
something like:
constrain attribute self.position.x to 250
constrain attribute self.position.y to 250
then to make that actor spin, I added angular velocity...