Skip to content
This repository was archived by the owner on Jun 29, 2024. It is now read-only.

When "rough" is checked and friction differs, collision causes objects to disappear #110

@pthrasher

Description

@pthrasher

Describe the bug
When physics materials differ in 2d collisions, and rough is checked on one of the materials, collision happens, and then the body appears to be removed from the world.

To Reproduce
Steps to reproduce the behavior:

  1. make a rigidbody2d and add a new physics material with < 1 friction.
  2. make a static body and add a new physics material with a greater friction from above, and check "rough"
  3. allow rigid body to freely fall onto static body.

Expected behavior
I expected the rigidbody to appropriately react to the static body rather than disappearing.

Project
PhysMatProblem.zip

Versions (please complete the following information):

  • OS MacOS Sonoma 14.2.1
  • Godot 4.2.1
  • Box2d 0.9.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions