You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I update an entity's mesh, either by (1) changing it's Handle<Mesh> or (2) updating the mesh itself in the Assets<Mesh>, the plugin doesn't account for the change in mesh value.
This is because bevy never updates the Aabb of an entity after the initial spawn of a mesh.
Current Workaround
As a user of this library, manually update the Aabb after updating the mesh, by setting the Aabb component of you rmesh entity to the result of the Mesh::compute_aabb method.
The text was updated successfully, but these errors were encountered:
bevy_mod_raycast version: 0.3
Bevy version: 0.6
OS & graphic stack: ArchLinux kernel 5.16.2
Problem
This is a copy of an upstream bug reported in bevyengine/bevy#4294.
When I update an entity's mesh, either by (1) changing it's
Handle<Mesh>
or (2) updating the mesh itself in theAssets<Mesh>
, the plugin doesn't account for the change in mesh value.This is because bevy never updates the
Aabb
of an entity after the initial spawn of a mesh.Current Workaround
As a user of this library, manually update the
Aabb
after updating the mesh, by setting theAabb
component of you rmesh entity to the result of theMesh::compute_aabb
method.The text was updated successfully, but these errors were encountered: