Basically I have a flying vehicle based off the flying template.
I have a Main hull mesh with a socket that I’ve attached a sub mesh too, and I want that sub mesh to rotate to a maximum of 90 degrees to the rear when acceleration is applied & 10 degrees facing forwards when reverse is applied, all based on an axis input.
So the more acceleration I apply the more the sub mesh rotates to the maximum value of 90 degrees. facing backwards
Ps: the rotation needs to be local/central to the socket and stay connected to the ship, not rotate around the ship as these are engines thrusters.