Cube which rotates dependant on cursor position

hi all,
I would like to create a 3d rotating cube which turns in a direction based upon where the users cursor is.

any ideas on what would be involved
cheers muchly
d

Loads of Maths…

pom 0]

I wish it were easier. But it takes much more math that I am willing to dig into as of yet.

sample:
jeremydecker.s5.com/progr…ation.html
source file:
jeremydecker.s5.com/3drotation.zip
no fills, just a wireframe. i will be rewriting the file in MX when i get the time and it will have fills (possibly lighting too).

:slight_smile:
jeremy

nice sinfiniti