mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:44:32 +02:00
smaller timescale for slaving shapes to skeleton
This commit is contained in:
parent
7f4ffb363b
commit
b5aca45ab6
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ void SkeletonModel::buildRagdollConstraints() {
|
|||
|
||||
// virtual
|
||||
void SkeletonModel::stepRagdollForward(float deltaTime) {
|
||||
const float RAGDOLL_FOLLOWS_JOINTS_TIMESCALE = 0.1f;
|
||||
const float RAGDOLL_FOLLOWS_JOINTS_TIMESCALE = 0.03f;
|
||||
float fraction = glm::clamp(deltaTime / RAGDOLL_FOLLOWS_JOINTS_TIMESCALE, 0.0f, 1.0f);
|
||||
moveShapesTowardJoints(fraction);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue