Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Teleport Funciton Exception
#3
(23-01-2023, 03:58 PM)josemendez Wrote: Hi,

Which version of Obi are you using? line 206 in 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.

kind regards,

Thanks a lot for your quick answer.
Reply


Messages In This Thread
Teleport Funciton Exception - by patriot4947 - 23-01-2023, 03:51 PM
RE: Teleport Funciton Exception - by josemendez - 23-01-2023, 03:58 PM
RE: Teleport Funciton Exception - by patriot4947 - 23-01-2023, 04:02 PM