You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
was trying to make a player controller and I found this really weird behavior when using useCannon where, if friction if >0 the object would slow down in the x,z axis at different rates causing this weird swerving motion:
Here the blue capsule starts slightly above the ground with a constant force applied in the same direction as the yellow line:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
was trying to make a player controller and I found this really weird behavior when using useCannon where, if friction if >0 the object would slow down in the x,z axis at different rates causing this weird swerving motion:
Here the blue capsule starts slightly above the ground with a constant force applied in the same direction as the yellow line:
https://codesandbox.io/s/fragrant-resonance-0jbuc6?file=/src/App.js
tried out a couple different shapes and they seem to all have this behavior
Beta Was this translation helpful? Give feedback.
All reactions