Spinning and spinning
i need some help with my game. Your goal is to drag the character places and when he hits a wall he starts spinning. But he never stops! I have tried putting angular drag on but it doesn't work. I need help! I like the spinning but I want it to slow down and stop!
Comments
In your rule that you use to "touch and drag" add a Change Attribute self.rotation to 0
That will make the player stop rotating when he's "dragged."
Does this mess up your gameplay too much? or do you want to take it another direction? I can probably think of a few other things I would do here...
As far as rotation with interpolation, that all depends on what you're trying to accomplish with the gameplay.
If you interolate it you could interpolate self.rotation to Random(0, 359). That'll rotate it to a random direction, but won't rotate it in a circle a few times.