Help achieving a pogo stick like shock absorbing leg
Hello Devs, I've been trying to achieve a pogo-like shock absorbing leg for a land-the-spacecraft game. The behavior I'm after: 1. Leg moves with spacecraft. 2. Leg only translates along its Y axis when colliding. 3. Leg does not rotate other than to follow the spacecraft. 4. Leg returns to rest position after impact is absorbed. I've been tinkering with the Configurable Joint. The Leg absorbs nicely and returns to its target position but setting the Angular Motion to locked doesn't prevent the leg from rotating when taking an impact from the side. This could be approached many ways. Does anyone have a lead on a method to achieve this? Thank you :)
Your answer
Follow this Question
Related Questions
Configerable joint problem !! 0 Answers
FixedUpdate in Coroutine 1 Answer
Joint with limit more than 180? 0 Answers
Player-controlled free-spinning hinge joint 0 Answers
chains for a battering ram 0 Answers