18-07-2022, 12:02 PM
(This post was last modified: 18-07-2022, 12:02 PM by josemendez.)
Hi,
Edge data isn't automatically updated every frame, since it is a costly operation: a BVH-like structure must be generated to allow for fast collision queries against the edges. To update the internal edge data, you must call UpdateEdgeData():
let me know if I can be of further help.
Edge data isn't automatically updated every frame, since it is a costly operation: a BVH-like structure must be generated to allow for fast collision queries against the edges. To update the internal edge data, you must call UpdateEdgeData():
Code:
((ObiEdgeShapeTracker2D)obiCollider.tracker).UpdateEdgeData();
let me know if I can be of further help.