Last week I worked on getting basic mechanics for pushing blocks around, and getting familiar with how something like that could work. I made it possible that the player can push more than one block at a time, or only one if that's what you wanted.
I also worked with the camera in these situations trying to get it to feel natural and more like games that we all know and love. Quaternion.Slerp() does a very good job of this, it's just a matter of tweaking variables to get it to feel natural.
I uploaded my project
here (EDIT: This link is now dead, you can grab the updated code from
this post) in case anyone wants to see exactly what I've done and how it works. Suggestions are welcome too, if you feel something I'm doing is inefficient or could be done in a simpler way.
No comments:
Post a Comment