Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug related to the law of action and reaction in btGeneric6DofSpring2Constraint. #4438

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 29, 2023

  1. Fix a bug related to the law of action and reaction in btGeneric6DofS…

    …pring2Constraint.
    
    The relA and relB in calculateJacobi() are vectors used to calculate the torque that the linearAxis applies to the bodies.
    Therefore, relA and relB should point to the same coordinate, but they were pointing to the connection points of bodyA and bodyB respectively.
    This caused a bug where the positions where the action and reaction forces were applied were shifted when the relative positions of the bodies changed.
    
    To fix this, relA was corrected to point to the connection point of bodyB.
    yahei committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    099dfe7 View commit details
    Browse the repository at this point in the history