mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 03:22:09 +02:00
Speed up acceleration and blends slightly per Joshua, add kicks to turn anim.
This commit is contained in:
parent
d9065affad
commit
ddbb8d70ed
4 changed files with 11 additions and 11 deletions
Binary file not shown.
Binary file not shown.
|
@ -824,7 +824,7 @@
|
|||
"children": [
|
||||
],
|
||||
"data": {
|
||||
"endFrame": 400,
|
||||
"endFrame": 200,
|
||||
"loopFlag": true,
|
||||
"startFrame": 1,
|
||||
"timeScale": 1,
|
||||
|
@ -837,7 +837,7 @@
|
|||
"children": [
|
||||
],
|
||||
"data": {
|
||||
"endFrame": 400,
|
||||
"endFrame": 200,
|
||||
"loopFlag": true,
|
||||
"startFrame": 1,
|
||||
"timeScale": 1,
|
||||
|
@ -896,8 +896,8 @@
|
|||
{
|
||||
"easingType": "easeInOutQuad",
|
||||
"id": "seatedTurnLeft",
|
||||
"interpDuration": 25,
|
||||
"interpTarget": 25,
|
||||
"interpDuration": 22,
|
||||
"interpTarget": 22,
|
||||
"interpType": "evaluateBoth",
|
||||
"transitions": [
|
||||
{
|
||||
|
@ -913,8 +913,8 @@
|
|||
{
|
||||
"easingType": "easeInOutQuad",
|
||||
"id": "seatedTurnRight",
|
||||
"interpDuration": 25,
|
||||
"interpTarget": 25,
|
||||
"interpDuration": 22,
|
||||
"interpTarget": 22,
|
||||
"interpType": "evaluateBoth",
|
||||
"transitions": [
|
||||
{
|
||||
|
@ -930,8 +930,8 @@
|
|||
{
|
||||
"easingType": "easeInOutQuad",
|
||||
"id": "seatedTurnRight_to_Idle",
|
||||
"interpDuration": 25,
|
||||
"interpTarget": 25,
|
||||
"interpDuration": 22,
|
||||
"interpTarget": 22,
|
||||
"interpType": "evaluateBoth",
|
||||
"transitions": [
|
||||
{
|
||||
|
@ -951,8 +951,8 @@
|
|||
{
|
||||
"easingType": "easeInOutQuad",
|
||||
"id": "seatedTurnLeft_to_Idle",
|
||||
"interpDuration": 25,
|
||||
"interpTarget": 25,
|
||||
"interpDuration": 22,
|
||||
"interpTarget": 22,
|
||||
"interpType": "evaluateBoth",
|
||||
"transitions": [
|
||||
{
|
||||
|
|
|
@ -3516,7 +3516,7 @@ void MyAvatar::updateOrientation(float deltaTime) {
|
|||
float direction = -getDriveKey(TRANSLATE_X);
|
||||
float seatedTargetSpeed = direction * _yawSpeed * deltaTime; //deg/renderframe
|
||||
|
||||
const float SEATED_ROTATION_ACCEL_SCALE = 3.0;
|
||||
const float SEATED_ROTATION_ACCEL_SCALE = 3.5;
|
||||
|
||||
float blend = deltaTime * SEATED_ROTATION_ACCEL_SCALE;
|
||||
if (blend > 1.0f) {
|
||||
|
|
Loading…
Reference in a new issue