View Single Post
Alice Stinks at Collisions
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default Alice Stinks at Collisions - 12-13-2011, 11:11 AM

Unfortunately, Alice cannot tell where the walls of the maze are, just that the object itself is there. So when it is "in front of the maze", it means the entire maze, not the walls. There is no easy way to make the character not just pass right through, because Alice has no way of telling where the walls are. I would just give a message to the player telling them not to move through the walls.

By the way, if you make infinite movements "abruptly" they will smoother in transitions between new movements, so your spinning candy canes and trees will not pause between every revolution. Weird, but this is because they speed up from a standstill during gently, while there is no acceleration time during abruptly.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote