- Home /
Fixed joint breaking without hit
I'm trying to make street lamps to break in 3 pieces when hit with a car by fixed joint, but the problem is. Even without hitting em, all those parts will fall on ground when I run the game, and nothing does even hit that street lamp when it breaks down.
Hopefully this picture will help understanding:
So, how I can prevent/stop it from breaking down always when I start the game and to make it break down only when hit by a car?
Answer by Lili-Shi · Jul 22, 2017 at 05:55 PM
The joints might break, due to each object exerting physical force on the joints, as gravity is trying to pull them down, and the joints seem not to be strong enough to withstand that force.
You could also just try controlling each joint or Rigidbody via script, so changes will be made upon something slamming into the lamp post, so that the lamp post will break apart.
Their break force is 100000 and break torque is 10000 so I think it should be enough?
Got it to work little bit better when I decided to keep it as one object and not to break it on three objects, but now when I start the game it just falls down itself without being hit, doesnt break anymore though.
Well then I wonder why the joints broke... anyways....
Were you accessing any part of transform of any part of the lamp post? That could've been an issue.
At this point though, I have to honest: I have never tried using lamp post, but I could model one (or rather 3 pieces of one) and then try it myself. Will come back to you, when I have fiddled around with this issue a bit. In the meantime, take a look here: $$anonymous$$anual: Joint and Ragdoll Stability
Your answer
Follow this Question
Related Questions
make a lever with physic ? hinge or spring joint ? 0 Answers
how avoid jiterring on fixed joints? 0 Answers
frame rate breaks physics 1 Answer