Skip to content

Quick question about drag caused by slamming #1

Description

@victornor

Hey Erik,
Firstly, thanks for making this, it's much appreciated.

I'm making a boating game and i have used this code to make floating more dynamic.
I'm experiencing some issues trying to get realistic water drag because the slamming causes velocity to drop quickly, even with 0 drag.

Here's a video of my issue
https://vimeo.com/774041994
First 25 seconds is using total mass = 1000 and slamming cheat = 3.
Then i turn down slamming to 1, which lets my boat glide with low drag, but this makes the boat very unstable causing rolling.

Any tips would be greatly appreciated.
I already reduced all forces by 100x, allowing me to reduce the rigidbody mass to 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions