Hello,
I do not know anything bout CFrame and BodyGyro,
I'm just trying to get my VehicleSeat to tilt is all when you turn but ya, I have no idea how to do that using above mentioned method.
if (VehicleSeat.Steer > 0) then VehicleSeat.BodyGyro.CFrame = VehicleSeat.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.1, 0) VehicleSeat.BodyGyro.CFrame = CFrame.new(VehicleSeat.Position, Vector3.new(0,0,0) elseif (VehicleSeat.Steer < 0) then VehicleSeat.BodyGyro.CFrame = VehicleSeat.BodyGyro.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1, 0) elseif (VehicleSeat.Steer == 0) then VehicleSeat.BodyGyro.CFrame = VehicleSeat.BodyGyro.CFrame end
Here is my code, and notice I put Vector3.new(0,0,0). I just odnt know how to get it right. Ive had the seat doing flips and what not but ya..
thank you, appreciate it.