Hello everyone!
I’m quite new to robloxes physics and I have a question about it. (Sorry if this is the wrong catagory but I can’t find a specific catagory for physics.)
The cylinders have a rotvelocity of 50,0,0
I want to make ‘tires’ of the image above rotate around the cylinders. I’ve tried many things and my current one sort of works but the ‘tires’ fall down. I have RopeConstraints at the edges of the parts. (there’s also one at the other side)
This happens:
I lowered the length of the constraints to near zero and it didn’t improve much.
I also tried rod constraints but they don’t work.
I’ve changed the cylinder into a 8 sided object and I linked the track with HingeConstraints but I’m not entirely sure what you mean with 1 hinge for 2 parts.
Currently I have it like this:
Is this what you mean? If so, the hinges won’t rotate at all. I’ve tried setting them to serve or motor but it doesn’t seem to work.
This is what I’m doing so far: Thiny.rbxm (16.1 KB)
Seems to me this is happening because of collisions. If I were you, I would try creating two collision groups, one for the black parts of the tread, and one for the white. This way they can’t collide with each other, but can with everything else.
local pService = game:GetService("PhysicsService")
pService:CreateCollisionGroup("Track1")
pService:CreateCollisionGroup("Track2")
pService:CollisionGroupsAreCollidable("Track1","Track2",false)
for k,v in pairs(script.B:GetChildren()) do
pService:SetPartCollisionGroup(v,"Track1")
end
for k,v in pairs(script.W:GetChildren()) do
pService:SetPartCollisionGroup(v,"Track2")
end
script.B.Parent = workspace
script.W.Parent = workspace
Doesn’t seem to work sadly
(B = all the black part, W = all the white parts)
Even when they are on the ground they stay like they are: