How to solve the problem that the box disappears and appears too suddenly? #42
Answered
by
LanKuDot
feipinxiang
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
LanKuDot
May 12, 2023
Replies: 1 comment 5 replies
-
Maybe need to create one more box than numOfBoxes and modify BoxTransformController.minPos/maxPos to solve this problem😅 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, you could add two more boxes and adjust the
BoxDensity
to make the range of list wider.The formula of calculating the
BoxDensity
is(number of boxes before added - 1) / (number of boxes after added - 1)
.In this case, the list originally has 5 boxes, and 2 more boxes is added. Therefore, the
BoxDensity
is (5 - 1) / (7 - 1) = 0.66666