jMonkeyEngine / jMonkeyEngine/jmonkeyengine

Issue when the armature is scaled

Open
#2,055 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Physics
Dominant language
Java
Stars
4.3k
Forks
1.2k
Avg merge
4d 7h
Merged PRs (30d)
14

Description

I experienced an issue when the Armature object is scaled to something other than 100% in blender. The model looks and animates fine in blender, but appears bigger or smaller than it should in JME before an animation action is applied. After an animation action is applied to the model, the model assumes the correct size.

It also has a strange impact on DynamicAnimControl (in jbullet and Minie), where the DAC "freezes" into the completely wrong pose when in ragdoll mode.

I was using a Mixamo model with this hierarchy setup:

v Model Root
|   v Armature
|   |   Skinned & Animated Model

I have not tested this problem with other setups.

For more details, view this forum post.

I bypassed this issue by setting Armature scale to 100%, then scaling the model root in JME to make the model appear the same size. Looks and feels the same, but does not experience this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Mixamo hierarchy with a scaled Armature in Blender, then load it in JME and compare its size before and after applying an animation action. Inspect the model-loading and animation path alongside DynamicAnimControl in both jbullet and Minie. Done means the model keeps the correct scale before animation and ragdoll mode no longer freezes in the wrong pose.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender, java
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.