Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
IainWinter
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
IainWinter
6y ago
That makes it so nothing explodes, and then there is a second solver that does a small raw position correction after. So it's not lifelike realism, but it works to stop objects sinking into each other too much. There is still a small e
2.
▲
by
IainWinter
6y ago
One day... Once I understand what the hell a jacobian matrix is. I do want that stack of boxes :)
3.
▲
by
IainWinter
6y ago
Yeah it's up to the person using it to store them sensibly. I use an ECS so they are mostly all contiguous. I think that the pointer hurts the cache for the fist iterations, but once the whole array is cached I think the pointer become
4.
▲
by
IainWinter
6y ago
Yeah that's why I used spheres :) I plan to make a part 2 that covers more complex constraint based methods. I'll put rotation in with that.
5.
▲
by
IainWinter
6y ago
Oh you're correct, I was trying to make the code more readable for the blog post and didn't even think of that! Thanks for the heads up I would of never caught that, and good info about different integrators, not going to pretend