Here I am again, with a new iteration of an almost working boat. So, I’m running into an issue with getting the suspension on my boat to work. Currently, I am having 4 linetraces trace down from above the boat to just below it. These linetraces are about where wheels would be, and where they hit, I want the boat to have that be its resting height. I have 4 dummy objects having their location set to the hit of the traces. That part works. I have two ideas of how I might get the suspension to work:
First: Connect the 4 dummy objects to the root (boat) object with 4 physics constraints. The constraints would be set so all axis would be locked but z, and theoretically, that should provide suspension.
Second: Do some trigonometry math (which I don’t know) and find the center point (vector and roatation, forward and up vector, etc) of the 4 hit locations and just have 1 dummy object and physics constraints. I don’t think a spring arm would work because it just takes distance from target point into account, rather than momentum (which is what I want).
My issue is this: I currently have my boat setup with the first idea. However, that just results in my boat spinning end over end and flying off into the distance. I have been told that physics doesn’t play nicely when you change the location of things. Is there a way around this? Is there an alternative? I am really beginning to run out of ideas on how to get this darn boat working without some divine (Epic) intervention. T_T