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 Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question Does Unity Physics have configurable joint alternative script? (for making active ragdoll)

Discussion in 'Physics for ECS' started by l1keAboss, Mar 16, 2023.

  1. l1keAboss

    l1keAboss

    Joined:
    Apr 17, 2019
    Posts:
    7
    I do some research and found that in the physics sample there have some script that package do not have such as ragdoll joint(4a. Joint Parade scene) and angular velocity motor (4c4 scene). idk if this is enough for the active ragdoll,
    at this video 3:30, adjust the drive string to let ragdoll stand, how can I get a similar result using the new Unity Physics?
     
  2. daniel-holz

    daniel-holz

    Unity Technologies

    Joined:
    Sep 17, 2021
    Posts:
    90
    You can use configurable joints with Unity Physics. Have you tried reproducing what is done in the video just with configurable joints instead of the RagdollJoint from the sample?
     
  3. l1keAboss

    l1keAboss

    Joined:
    Apr 17, 2019
    Posts:
    7
    Yes I did follow the video tutorial and make my own one using configurable joint, I still trying to understand each value meaning and what they do to the rigid body. Also the new Unity Physics value naming and component is different, I still trying to understand. 1679034807019.png
     
    daniel-holz likes this.
  4. daniel-holz

    daniel-holz

    Unity Technologies

    Joined:
    Sep 17, 2021
    Posts:
    90
    Since Unity Physics runs also when you use the classic physics components and put them into subscenes, you can stick to those if you are more familiar with them and prefer using them. That's perfectly fine.

    For learning about new components you can have a look at the Unity Physics documentation and the PhysicsSamples project.
     
    Last edited: Mar 17, 2023
    JosepMariaPujol likes this.
  5. daniel-holz

    daniel-holz

    Unity Technologies

    Joined:
    Sep 17, 2021
    Posts:
    90
    @l1keAboss : Quick update here. We recently noticed that for the default stiffness and damping parameters in the Character Joint and the Configurable Joint (both zero) there is a discrepancy in simulation behavior between the built-in physics (in scenes) and Unity Physics (in subscenes). The issue is described in this thread and we have it tracked internally and are working on a fix.

    Note that this can cause issues with ragdoll modeling if you don't modify the stiffness and damping parameters in the joints. The thread above shows how this could be done to mitigate this discrepancy.
     
    Occuros likes this.