I use AngularVelocity to spin my wheels, but when it’s really so high it effects my car too. What are some alternatives or a way I can make it only spin my wheels and nothing else? Because this causes problems in my chassis. Especially when in the air…
Uses Scripting support next time,
You can use TweenService (it’s used to animate smoothly from parts to guis).
Here’s the tween service script :
local wheel1 = -- Wheel one
local wheel2 = -- Wheel two
local wheel3 = -- Wheel three
local wheel4 = -- Wheel four
local spinTime = -- Choose the time that will take for a wheel to spin (put a number)
local repeatCount = -- Put the amount of time it should spin (put -1 for infinity)
local TweenService = game:GetService("TweenService")
local info = TweenInfo.new(spinTime, Enum.EasingStyle.Linear, Enum.EasingDirection.In, repeatCount)
-- You can change the vector3 to your liking
local tween1 = TweenService:Create(wheel1, info, {Rotation = Vector3.new(360, 0, 0)})
local tween2 = TweenService:Create(wheel2, info, {Rotation = Vector3.new(360, 0, 0)})
local tween3 = TweenService:Create(wheel3, info, {Rotation = Vector3.new(360, 0, 0)})
local tween4 = TweenService:Create(wheel4, info, {Rotation = Vector3.new(360, 0, 0)})
tween1:Play()
tween2:Play()
tween3:Play()
tween4:Play()
My system uses physics which is why I put inside building support.
nvm hingeconstraints have a motor acutator type
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.