Skip to content

RagdollUtils can miss model meshes or use wrong ones #931

@stephengold

Description

@stephengold

The buildPointMap() and makeShapeFromVerticeWeights() methods in com.jme3.bullet.control.ragdoll.RagdollUtils search for meshes of the specified model. However, they look only at the model's root spatial and its immediate children. Any meshes deeper in the tree are missed. This may cause a crash later, if there are insufficient vertices to form a shape.

Furthermore, these methods should ignore non-animated meshes.

Metadata

Metadata

Assignees

Labels

PhysicsIssues with all kinds of Physics and their BindingsbugSomething that is supposed to work, but doesn't. More severe than a "defect".

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions