Method CatPattern
CatPattern(float, float, float, float, float)
Provide an orientation that follows rotation on two axis.
Declaration
public static Quaternion CatPattern(float t, float omegaYaw = 6.2831855, float yawPhase = 0, float omegaPitch = 31.415928, float pitchAmplitude = 0.08726647)
Parameters
Type | Name | Description |
---|---|---|
float | t | Time elapsed since the beginning in second. |
float | omegaYaw | Angle per second arround the Y axis. |
float | yawPhase | Offset at starting time in seconds. |
float | omegaPitch | Angle per second arround the X axis. |
float | pitchAmplitude | Scale on the final anagle. |
Returns
Type | Description |
---|---|
Quaternion |
|