public class CosmeticRotationBehaviour

Inherits MonoBehaviour

Continuously rotates a transform with velocity and acceleration

Nested types

CosmeticRotationBehaviour.RotAxis

Fields

public RotAxis Axis

The axis to rotate on


public float RotationSpeedTarget

The target rotation speed


public float Dampening

Angular velocity dampening value from 0.0 to 1.0


public float Acceleration

The current acceleration


public bool ShouldRotate

Should the acceleration be applied?


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi