mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
b35b9e5005
# Objective allow automatic fixing of bad joint weights. fix #10447 ## Solution - remove automatic normalization of vertexes with all zero joint weights. - add `Mesh::normalize_joint_weights` which fixes zero joint weights, and also ensures that all weights sum to 1. this is a manual call as it may be slow to apply to large skinned meshes, and is unnecessary if you have control over the source assets. note: this became a more significant problem with 0.12, as weights that are close to, but not exactly 1 now seem to use `Vec3::ZERO` for the unspecified weight, where previously they used the entity translation. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |