Skip to content

How to Rotate Self Space

public float xAngle, yAngle, zAngle;

void Update()
{
    this.transform.Rotate(xAngle, yAngle, zAngle, Space.Self);
}

Leave a Reply

Your email address will not be published. Required fields are marked *