RotationZ
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
void CustomActivity(bool firstTimeCalled)
{
if(InputManager.Keyboard.KeyPushed(Microsoft.Xna.Framework.Input.Keys.Space))
{
SpriteInstance.RotationZ += 1; // rotate by one radian counterclockwise
}
}