I'm trying to make a car with constraints, but roblox's acceleration and torque cant be changed separatedly, so if a car has too low of an acceleration it wont be able to drive over steep angles. And to fix that im lowering torque as the speed increases, and to do that I used Changed
on the vehicle seat (which has a velocity property inside)But it only seems to update when I steer the vehicle.
Here is some code to demonstrate what im trying to do.
local function onChanged(property)
if seat.Velocity.magnitude > 40 and seat.Velocity.magnitude < 70 then
print"fast"
elseif seat.Velocity.magnitude > 70 then
print "very fast"
else
print"slow"
end
end
seat.Changed:connect(onChanged)
There are no errors.
If there is a better way to do this it will also help.
