mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +02:00
thingy
This commit is contained in:
parent
14b943f1f7
commit
14d47d87d8
1 changed files with 2 additions and 0 deletions
|
@ -522,10 +522,12 @@ void Avatar::updateHandMovementAndTouching(float deltaTime) {
|
|||
void Avatar::updateHead(float deltaTime) {
|
||||
|
||||
// hold on to this - used for testing....
|
||||
/*
|
||||
static float test = 0.0f;
|
||||
test += deltaTime;
|
||||
_head.leanForward = 0.02 * sin( test * 0.2f );
|
||||
_head.leanSideways = 0.02 * sin( test * 0.3f );
|
||||
*/
|
||||
|
||||
//apply the head lean values to the springy position...
|
||||
if (fabs(_head.leanSideways + _head.leanForward) > 0.0f)
|
||||
|
|
Loading…
Reference in a new issue