On left side is power gear, its spining on its own, i tried to make other 2 spin but i get them to oscilate or spin in same direction.
Old script:
script.Parent.GearBody.Touched:Connect(function(obj)
if obj.Name=="GearBody" then
speed=obj.Parent.Speed.Value
if speed >0 then
script.Parent.Speed.Value=speed-speed-speed
script.Parent.Holder.Attachment.HingeConstraint.AngularVelocity=speed-speed-speed
elseif speed<0 then
script.Parent.Speed.Value=speed-speed-speed
script.Parent.Holder.Attachment.HingeConstraint.AngularVelocity=speed-speed-speed
end end
end)
this script is 2 years old it may not work anymore…
Now i dont want you to make whole suistem for me, just give me idea (or if you want bit of code) how should gear logic work.
One gear should have let’s say speed 1, Then the gear next to that one should have -1, And the one next to that should have 1 again, This would make them rotate like gears should.
red arrows are rotation direction, green dots are joint spots, and gray arrow is power direction (form power gear). If i use toc heck for the XYZ , i can make 2 gears bug and spin each other with no source of energy (motor).
My idea is to use RayCasting to make gears like wire.
Yes of course, but wait please.
and i acidentaly made electric signal system, so double the fun?
Edit: would you like to help? I nead someone to upload some sounds. I only have 2 robux so i cant do it…