Hi, I’m working on this current project:
And as you can see, if you click and drag, the framerate drops noticeably as the cursor crosses over the components of the bike.
I’m using David Lenaerts’ HoverDragController, ideally what I need to do is for that to trigger a function in my main class to kill the event listeners when drag starts, and then re-add them when it finishes.
I already have those functions in my main class, I just can’t figure out how to modify the hoverDragController class to do that..
Or is there something else maybe I’m missing that is causing the slowdown?
I’ve tried different hitMethods…