[BUG] rayMeshIntersect fails when given a spherical entity
brandonsturgeon opened this issue · 1 comments
brandonsturgeon commented
Short Description
I don't fully understand the situation in which this happens, but it's clear that rayMeshIntersect
fails when given a spherical entity.
This is due to GetMeshConvexes returning nil
when run on a spherical entity's PhysicsObject.
It's probably a simple fix, but I don't understand the importance of this function, so I figured it was best left to the pros 😎
Branch and Version
Latest, Stooberton@master
Console Error Logs (Optional)
https://github.com/Stooberton/ACF-3/blob/master/lua/acf/core/utilities/util_sh.lua#L276
https://github.com/Stooberton/ACF-3/blob/master/lua/acf/core/utilities/util_sh.lua#L322
Stooberton commented
Fixed in dfe75fc 👍