Hi,
I am having an issue with attaching a weapon to a bone in the editor.
- Import character model - scale looks good
- Import animation, apply to model, scale looks good
- Import weapon, scale looks good.
- Attach weapon to bone - scale of weapon is now 100x too small.
The issue appears to be related to one of the parent bones having a scale of 0.01 - but I cannot see anywhere in Maya where this would be set. I have tried exporting in units of both meters and centimeter to no avail. In the test project (see below) - I have manually scaled the weapon (the capsule) to 100x after it was attached to the bone. It is a clone of the capsule on the left. As you can see (if you run the level) - the scaled capsule, even though it is 100x the original size, appears to be the same size as the source entity it was cloned from.
A test example of the project can be found here:
https://playcanvas.com/project/536813
NOTE: I can see in the JSON a scaling factor on one of the bones - 0.01 - but I have no idea where it could be coming from?