Troubles with joints

Hello :slight_smile:
I’m new with unity i’m trying to simulate the robot i’ve made with unity

3340622--260781--DKRD0vGXoAAFWts.jpg

So i’ve made the leg in 3D
(you can check my twitter to understand what i want to simulate : x.com )

so now i have this :

everything is attached with fixed and hinge joints, BUT when i try to start i get some problems, i have some movement (not rotations of the hinges ) i give you pictures to lets you understand :

BEFORE PLAY :

AFTER :

seems it’s the same with all :

Can you explain me what is this problem please ? :slight_smile:

So are you simulating this in Unity or are you getting feedback data from the robot and trying to inject it into Unity?

If you’re creating a simulation in Unity then we need to see info on the joints. If you have data from the robot realtime then you don’t need to use Physics in Unity. Either you own the transform position and take full responsibility or you surrender it to the Physics calculations entirely.

No no i’m trying to simulate it whit unity, i need Physics.

For exemple to connect this to the tube i jut use a fixed joint , but when i play it’s moving … ?


After play :

3340679--260797--Capture2.PNG

For Hinge Joints the Connected Anchor XYZ is the resting point of the rigidbody so it’s going to snap into that position, relative to the Anchor XYZ. Any fixed joints down the line would also be affected.

1 Like

thanks ! i changed all the joints and Anchors and it’s working