Skip to content

Expose joint damping_ratio and natural_frequency per joint to make joints soft #231

@Ughuuu

Description

@Ughuuu

There have been 2 issues about PinJoint2D not having softness like Godot has. Rapier just doesn't support per joint softness, so as a workaround you can change the following project wide properties:

  • physics/rapier/joint/damping_ratio
  • physics/rapier/joint/natural_frequency

These will help to make soft joints (eg damping ratio 0.1 and natural_frequency 50).

However, there isn't a way right now in rapier to set these per joint. Here is linked issue in Rapier dimforge/rapier#676

Also, in order to expose new properties (on the joint directly) and hide the softness, this one needs to be solved first: godotengine/godot-proposals#10438 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions