23-01-2023, 03:51 PM
(This post was last modified: 23-01-2023, 03:59 PM by patriot4947.)
Teleport Funciton Exception
|
23-01-2023, 03:58 PM
(This post was last modified: 23-01-2023, 04:01 PM by josemendez.)
(23-01-2023, 03:51 PM)patriot4947 Wrote: Hi, 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 in the code you shared. kind regards,
23-01-2023, 04:02 PM
(23-01-2023, 03:58 PM)josemendez Wrote: Hi, Thanks a lot for your quick answer. |
« Next Oldest | Next Newest »
|