Crazy physics!
Posted by Ben Hymers | Filed under cities-in-the-sky
Well, I managed to get collisions with the surface of the island working correctly, and now the buildings tumble and roll nicely when you place them somewhere they're not allowed! The funny thing at the moment is that since they get 'activated' when they touch the ground, and by that time they may be inside another house already, they tend to shoot out at stupid speeds, which is entertaining but will be changed soon :)
I also need to have some kind of timeout, since the buildings just hang about on the island after they've rolled around a bit. Maybe I'll just make the island really slippery though... there are tons of solutions, I quite like this partifular bit of development! :)
Previous Post Next Post