Friction center weighted average (#71)
The central friction anchors now have C0 continuity by using a weighted average. Reduces jitter while letting the spinning top function correctly. Fixes #65
This commit is contained in:
parent
e9f6f1d0aa
commit
e961bfb7bf
21 changed files with 136 additions and 102 deletions
|
|
@ -372,8 +372,6 @@ static int sampleGyroscopicTorque = RegisterSample( "Bodies", "Gyroscopic Torque
|
|||
// Spinning tops. Ported from PEEL.
|
||||
// Each top is tilted and spun about the world up axis. Offsetting the spin axis from the
|
||||
// symmetry axis is what makes them precess under gravity instead of spinning true.
|
||||
// todo disabling this until issue #65 is fixed
|
||||
#if 0
|
||||
class GyroscopicPrecession : public Sample
|
||||
{
|
||||
public:
|
||||
|
|
@ -437,7 +435,6 @@ public:
|
|||
};
|
||||
|
||||
static int sampleGyroscopicPrecession = RegisterSample( "Bodies", "Gyroscopic Precession", GyroscopicPrecession::Create );
|
||||
#endif
|
||||
|
||||
class Weeble : public Sample
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue