Toribash
Original Post
get_body_rotation, set_body_rotation ?
how comes those functions are not there right now? they are really needed for more advanced lua scripts! any workaround there?

ok get_body_info().rot will give you a rotation matrix.. currently you will have to transform this into the euler form to use it in set_body_rotation. i talked to hampa he will have a look at it and hopefully implement a function taking a rotation matrix as parameter in 3.2.

thanks hampa!
Last edited by pixartist; Mar 13, 2008 at 04:24 PM.