So what I’m trying to do here is to make a propeller on a plane spin like the plane is idling, I have tried the rotate around script but that does not get the results I Needed to get, I want the propeller to spin not rotate. Any ideas or help would be nice.
It sounds like it is rotating – just around the wrong axis.
Try this:
object.transform.RotateAroundLocal(Vector3.right, ROTATION_SPEED);
If that doesn’t work, try Vector3.forward
instead of Vector3.right
.
transform.Rotate(Vector3.forward * propSpeed * Time.deltaTime);
i created a public var propSpeed too and this worked for me ,