18-09-2022, 03:44 AM
(17-09-2022, 10:06 AM)josemendez Wrote: Hi there!
Backface culling is performed by the GPU during rendering, Obi does not perform any rendering of its own since it's a physics engine.
Tested this, could reproduce when teleporting an object with multiple constraint batches, thanks for reporting this! Line 202 in the ObiSoftbody.cs script should be:
Code:sc.batches[i].orientations[batchOffset + j] = rotOffset * sc.batches[i].orientations[batchOffset + j];
instead of:
Code:sc.batches[j].orientations[batchOffset + i] = rotOffset * sc.batches[i].orientations[batchOffset + j];
let me know if I can be of further help,
hey!
I did end up changing line 202 to what you outlined. Sadly the problem still persists, with the same error as before:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Seems to still originate from the Teleport function at line 205 (closing bracket of the function).