Heya all –
I’d like to apply a gentle wave rocking motion to an object, and I’m not getting what I’m looking for. After some trial and error, I came up with:
function Update() {
transform.Rotate(Mathf.PingPong(Time.time, 1)-0.5, 0, Mathf.PingPong(Time.time, 0.4)-0.2);
}
But that it very fast, and very dramatic. Does anyone out there have any suggestions? Thanks for anything!
-Lucas