mirror of
https://github.com/overte-org/overte.git
synced 2025-04-24 12:13:36 +02:00
removed scale for fight club model
This commit is contained in:
parent
55da34f713
commit
69cc270802
2 changed files with 3 additions and 3 deletions
|
@ -1221,7 +1221,7 @@ void MyAvatar::preRender(RenderArgs* renderArgs) {
|
|||
joints.push_back(joint);
|
||||
}
|
||||
auto skeleton = make_shared<AnimSkeleton>(joints);
|
||||
AnimPose xform(glm::vec3(0.01f), glm::quat(), glm::vec3(0.0));
|
||||
AnimPose xform(glm::vec3(1.0f), glm::quat(), glm::vec3(0.0));
|
||||
AnimDebugDraw::getInstance().addSkeleton("my-avatar", skeleton, xform);
|
||||
|
||||
_animNode = make_shared<AnimClip>("clip", "https://hifi-public.s3.amazonaws.com/ozan/support/FightClubBotTest1/Animations/standard_idle.fbx", 0.0f, 90.0f, 1.0f, true);
|
||||
|
|
|
@ -247,7 +247,7 @@ void AnimDebugDraw::update() {
|
|||
AnimPose pose = skeleton->getAbsoluteBindPose(i);
|
||||
|
||||
// draw axes
|
||||
const float radius = 1.0f;
|
||||
const float radius = 0.01f;
|
||||
addWireframeSphereWithAxes(rootPose, pose, radius, v);
|
||||
|
||||
// line to parent.
|
||||
|
@ -278,7 +278,7 @@ void AnimDebugDraw::update() {
|
|||
}
|
||||
|
||||
// draw axes
|
||||
const float radius = 1.0f;
|
||||
const float radius = 0.01f;
|
||||
addWireframeSphereWithAxes(rootPose, absAnimPose[i], radius, v);
|
||||
|
||||
if (parentIndex >= 0) {
|
||||
|
|
Loading…
Reference in a new issue