- Oct 9, 2022
- 5
- 3
i've recently started making a game and i'm trying to make the first mechanic
let's say we have the leg and i want to change it's state(position and rotation) with code
i already have the click and drag between the possible states with code but i'm not really doing well on integrating it with the physics engine, i'm trying to make it work with a ragdoll so i need resources about how to better work with ragdolls and how to make things move with code and seem natural, right now if i give it a position in code it just completely glitches out and i believe it's because i'm using transform.position to snap the joint to the desired position
let's say we have the leg and i want to change it's state(position and rotation) with code
i already have the click and drag between the possible states with code but i'm not really doing well on integrating it with the physics engine, i'm trying to make it work with a ragdoll so i need resources about how to better work with ragdolls and how to make things move with code and seem natural, right now if i give it a position in code it just completely glitches out and i believe it's because i'm using transform.position to snap the joint to the desired position