I’ve had this issue before, though I’ve never found out how to make tweening still work in the way that I’ve wanted it to in this specific fashion. Here’s what it looks like:
And here’s the orientation value tweening:
Lastly, here’s the script in its current state
DriveSeat:GetPropertyChangedSignal("SteerFloat"):Connect(function()
TweenService:Create(Tires.FR.Joint.Attachment0, TweenInfo.new(1) -- FR is for the front-right wheel
,{
["Orientation"] = Vector3.new(0, math.floor(180 - DriveSeat.SteerFloat * DriveSeat.TurnSpeed), 90)
}
):Play()
TweenService:Create(Tires.FL.Joint.Attachment0, TweenInfo.new(1) -- FL is for the front-left wheel
,{
["Orientation"] = Vector3.new(0, math.floor(-180 - DriveSeat.SteerFloat * DriveSeat.TurnSpeed), 90)
}
):Play()
end)