Tuesday, August 9, 2011

Making things wiggle



Since I don't have any intention of moving my camera around, the next step is to relate a touch event to some movement of the 3d objects in the scene. I've been thinking about how to do this.

Reading the Unity Documentation on input tells me I should be able to get the location of a touch, and the accelerometer at the same time. Basically if you punch the screen really hard, I'd like face in the screen to get punched really hard too, and right in the spot that you punched them.


First step to me is maybe to set up a few cubes that have a (forgive me I may get this wrong) kinetic relationship - i.e. a skeleton type thing.



No comments:

Post a Comment