Answer the question
In order to leave comments, you need to log in
There is a tow truck. He has a hook. What's wrong with physics?
Hello comrades. I've tried a lot and still don't understand what's going on. Mb you solved this issue.
There is an arrow (on which a hook weighs) she has RizhidBodi.
He has a hook RizhidBodi and Joint (tried all options), the Joint is connected to the arrow (the arrow can go down and up).
Initially, everything works, BUT as soon as the car picks up speed, the base of the hook starts to come off, the faster the car goes, the stronger the separation. How to remove the gap? That she would always be attached to this place?
The figure shows a hook, an arrow and pivots.
As soon as the car picks up speed, the hook comes off. As the drain car stops, he goes to the place.
It is necessary that he always be in place, attached to the pivot. Let me remind you that I tried all variants of Joints, everyone has the same problem.
Answer the question
In order to leave comments, you need to log in
With physics, it's just surprisingly so. In your case, and the hook should deviate if it has the opportunity, because the machine that is being pulled creates a force directed against the movement.
Real tow trucks of such a system do not have a crane, but a rigid metal paw with a stand at the bottom (Lo---o), on which the wheels of the car drive. And it simply does not bend at the point that you have circled in red ...
In principle, they also happen with cranes, but again, it does not lift the car, but the platform attached to the tow truck.
It's all called "Partial Load Tow Truck". Look at pictures and videos online to see how it works in real life.
but really what you have with physics and scale.
no screenshots of the inspector are visible.
maybe you have a centimeter machine, it travels at speeds of hundreds of meters per second)
and physics, taking into account the error, gives such a mismatch.
and maybe you teleport the machine in general through the transform, and not move it with physics, then your frame miscalculations do not exactly match the miscalculation of the movement.))
and most likely it is in the second case.
when on Update - the machine is displaced.
and on FixedUpdate the hook is shifted according to physics.)
you can cheat this case) by making the tip of the hook - tending to an invisible object that is already moving according to physics)
it looks almost natural, but in fact, it just changes the angle with a script))
good luck
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question