Game Development Community

mouse rotation on abjects.

by Simon Carlsson · in Torque Game Builder · 05/03/2010 (4:32 am) · 3 replies

Yo. can anyone tell me how to make a object rotate in gameplay using the mouse?

#1
05/03/2010 (8:07 am)
Like rotate to follow the mouse or click and rotate a certain amount or what?

This question is pretty generic and is impossible to answer without knowing more of what you're looking for.
#2
05/03/2010 (8:59 am)
i want the object to rotate when you move the mouse. when you move the mouse to the side the object rotate and when you stop the mouse the object stops.
#3
05/03/2010 (9:11 am)
http://tdn.garagegames.com/wiki/TGB/Behaviors/Follow_Mouse

That should get you going.