I am using a sprite (via a camerapick function) to control the rotation of part of a model that has been set up in a parent/child hierarchy.
When the mouse is over the sprite, this triggers a turnentity command to rotate part of the model (rotateentity seems to move the model around global co-ords so I cant use it).
The problem is, I want the model to stop rotating at a particular point, but while the mouse is over the sprite the turnentity command keeps rotating the model.
I have tried various loop structures without success & I now seem to have developed a real mental block about this one. Can anyone point me in the right direction?
Cheers Shawnus
When the mouse is over the sprite, this triggers a turnentity command to rotate part of the model (rotateentity seems to move the model around global co-ords so I cant use it).
The problem is, I want the model to stop rotating at a particular point, but while the mouse is over the sprite the turnentity command keeps rotating the model.
I have tried various loop structures without success & I now seem to have developed a real mental block about this one. Can anyone point me in the right direction?
Cheers Shawnus