Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Public Attributes | |
Transform | jawBone |
Coord | coordinateToAffect |
float | rotationFactor = 10f |
bool | isAdditive = true |
Protected Member Functions | |
void | Awake () |
void | LateUpdate () |
Protected Attributes | |
float | volume |
float | bin = 0.04f |
int | width = 64 |
float | output |
float[] | array |
Quaternion | jawRotation |
AudioSource | _audio |
Quaternion | originalRotation |
Char | _character |
A component that provides simple lipsyncing, Half Life 1-style, in which a jaw bone rotates with the volume of the sound that the GameObject is emitting.
Coord AC.AutoLipSync.coordinateToAffect |
Which axis to rotate the bone around
bool AC.AutoLipSync.isAdditive = true |
If True, rotations will be added, rather than replace, existing animation
Transform AC.AutoLipSync.jawBone |
The jaw bone to rotate
float AC.AutoLipSync.rotationFactor = 10f |
The rotation factor