This project has moved and is read-only. For the latest updates, please go here.

How to disable mouse moving?

Nov 6, 2011 at 1:05 AM


how can I disable to move by mouse object? If I set "enable" to false, I still see my object and I can't move them (as I want), but it doesn't react with others object. I want make something as billard, and only white ball can be moved by mouse, others balls not. How can I do that?

Nov 7, 2011 at 3:20 PM

I've solved my problem - just setted to _body.UserData ==true if object can be moved and false if player is not allowed to move object then check userdata in HandleCursor method. :)