Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keeping the mouse cursor moving

Status
Not open for further replies.

Veach

Programmer
Jun 14, 2006
14
US
Hey everyone,

I'm working on a program that involves rotating a model based on the movement of the mouse. My problem is that the model stops rotating when the mouse hits the edge of the screen. Is there a way around this?

I was asked not to use drag-to-rotate, and I tried using _mouse.mouseH = 0 to reset the position of the cursor every frame. I wasn't allowed to set that property.

Thanks,
Anthony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top