two questions

I have two questions, first is how would i rotate an object left if i tilt left, right if i tilt right, and then the other question is how can i make the object that i just rotated move in the direction its pointing. thank you!!! [import]uid: 38977 topic_id: 21359 reply_id: 321359[/import]