Search Unity

JointData.CreateBallAndSocket unexpected behavior?

Discussion in 'Physics for ECS' started by filod, Nov 28, 2019.

  1. filod

    filod

    Joined:
    Oct 3, 2015
    Posts:
    224
    `JointData.CreateBallAndSocket` (include other function like CreateFixed/CreateHinge) accept params like positionAinA, in my test, positionAinA behave not localPosition of A but RelativeWorldPosition of A, because it doesn't count A's Scale in. don't know if it's a bug, if not, any suggestion how i handle this with only LocalToWorld matrix?