Feature: Add support for custom friction and bounce CombineRules #622
Labels
2D
The issue is specifically about the 2D version of Rapier.
3D
The issue is specifically about the 3D version of Rapier.
A-Dynamics
C-Enhancement
New feature or request
D-Medium
P-Medium
I have a use case where in Godot they use friction and bounce like so:
So bounce they sum them, and then either take 0 or 1(bounce can be negative on some objects)
Friction they take the min and then take abs(agian, friction can be negative, and in such a case that is the value you always take). Weird case, but am thinking how could I do this in rapier?
Maybe if I could override the combine function from CoefficientCombineRule, I could make it work.
The text was updated successfully, but these errors were encountered: