Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

JointData.CreateBallAndSocket unexpected behavior?

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

  1. filod

    filod

    Joined:
    Oct 3, 2015
    Posts:
    175
    `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?