|
How would I make an object constantly rotate in a single direction? This particular time being in the Z axis? For all eternity? Undisturbed forever?
(comments are locked)
|
|
var degreesPerSecond : float = 50.0; function Update() { transform.Rotate(Vector3.up * degreesPerSecond * Time.deltaTime, Space.Self); transform.Rotate(Vector3.left* degreesPerSecond * Time.deltaTime,Space.Self); rigidbody.isKinematic = true; } you can use this one also to rotate constant speed as u want.
(comments are locked)
|
|
There is a script ready in case of Lerpz which can be downloaded directly from the official site. Is the tutorial 3dplatform
(comments are locked)
|
