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
The idea:
Additionally to current params we can add:
group index
persistence flag
If persistence flag is set, we don't need to redraw debug shape on every tick. And we can cleanup with a new function clear_group(group_index).
The use case is when calculating the positions and rotations of the debugger shapes is expensive, and we dont want to do that on every tick.
Currently, to achieve this, I am cashing the position and rotation of the debug shapes in a array and reading it on every tick... and I was just wondering, if its possible to make this process more performant on engine side.
The text was updated successfully, but these errors were encountered:
The idea:
Additionally to current params we can add:
If persistence flag is set, we don't need to redraw debug shape on every tick. And we can cleanup with a new function
clear_group(group_index)
.The use case is when calculating the positions and rotations of the debugger shapes is expensive, and we dont want to do that on every tick.
Currently, to achieve this, I am cashing the position and rotation of the debug shapes in a array and reading it on every tick... and I was just wondering, if its possible to make this process more performant on engine side.
The text was updated successfully, but these errors were encountered: