Rotation without moving because of collision.
Hey everyone,
In my game, I need to have a bar rotate on command, and things to bounce off it. I've tried multiple different things including changing the self.rotation of the actor to self.rotation+1 or -1, every 0 seconds, but this looks jittery and cannot go fast. I want to use rotation, but when I do, the bar slides away from the ball that hit it. I want it to stay centered in one place, but be able to rotate on command using the rotate behavior. I have movible checked (I have to for the rotate) and fixed rotation unchecked. I have looked and looked, but can't seem to find a solution.
Help is appreciated
-Thomas
In my game, I need to have a bar rotate on command, and things to bounce off it. I've tried multiple different things including changing the self.rotation of the actor to self.rotation+1 or -1, every 0 seconds, but this looks jittery and cannot go fast. I want to use rotation, but when I do, the bar slides away from the ball that hit it. I want it to stay centered in one place, but be able to rotate on command using the rotate behavior. I have movible checked (I have to for the rotate) and fixed rotation unchecked. I have looked and looked, but can't seem to find a solution.
Help is appreciated
-Thomas
Comments
Any other ideas?
-Thomas
Check movable.
Uncheck fixed rotation.
Constrain x and y to your pivot point .
And use rotation in your command .
It should work unless we miss some info about whats going on..
Roy.
One more thing. The things hitting it are moving because of gravity. The thing won't even turn. I looked at this for 90 minutes today without any luck. It just doesn't make sense. It'll probably be another one of those things that, when I figure it out, I'll be like "Oh yeah..... I'm stupid"
Anyway, thanks for any help
-Thomas
When I do get it to move, I'll try that.
My app, Marble Mania Free, came out 2 months ago. I used everything he told me and it ended up working great.
-Thomas