1j01 / makisu

Two sushi simulators (3D and retro 2.5D)
https://1j01.github.io/makisu/
0 stars 0 forks source link

Floating rice #17

Open 1j01 opened 2 months ago

1j01 commented 2 months ago

Rice uses LockConstraints to stick to things, but sometimes it can end up with these constraints existing at a distance, somehow.

Large time steps cause this to occur more frequently/noticeably, but it doesn't explain the problem exactly.

Note two groups of two rice grains here, affected by the movement of the bamboo mat at a distance: https://github.com/user-attachments/assets/76241824-4a67-41ce-8cf0-f56282e2eb85

1j01 commented 2 months ago

An example with clearer floating rice grains: https://github.com/user-attachments/assets/106a8d98-3416-4010-ad7d-20e8d4053fef