20-03-2024, 07:00 AM
(This post was last modified: 20-03-2024, 07:02 AM by josemendez.)
Hi HakJak,
that code should read:
instead of
Notice the i and j variables in the left side of the = are swapped.
We should publish an update to address this one since Teleport() is a common operation.
that code should read:
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];
Notice the i and j variables in the left side of the = are swapped.
We should publish an update to address this one since Teleport() is a common operation.