Page 1 of 1

rotation idea

PostPosted: Mon Feb 20, 2006 10:46 pm
by DilloDude
This would be very dificult to do, but it may be simpler than supporting actual rotation. The problem with rotation is that you need to look at the animaiton, decide what shape each colour is making, and figure out how to draw that shape in another orientation.
But what if you use an animation for rotating, but when you create the animation, you set 'rotation animation'. Then you could have actions like rotational physical response, where the collision changes the frame automatically considering it as rotating the actor itself?
Just an interesting idea I thought of.

PostPosted: Sat Feb 25, 2006 11:14 am
by DilloDude
That way you could set a priority to the rotation or the collision, so if the collision has priority, and you say to rotate ten degrees, and a wall obstructs you from rotating three of the degrees, you will only rotate seven degrees instead of rotating all ten and be pushed away from the wall.