#6213 Score: -1
Atlas
Participant

抱歉,前面回复太多了,我可能没看懂dalao写的;;
Verlet那里,spring和mass都有用。spring里在根据弹簧长度constraint修正点的位置。mass里在用公式算点的位置。
Euler阻尼的话,我是在mass那里加m->forces += -0.005 * m->velocity;,就能停下来。

This post has received 1 vote down.