Parts doesnt Collide with CanCollide On?

Why these parts doesn’t collide?

robloxapp-20250205-2321260.wmv
The only anchored parts are the spawn point and the green parts, which are moving with TweenService (CFrame) [is the only script in the project]. Also, moving the part with the studio moving tool doesn’t collide.

I just want to test the physics :sob::sob:

Moving the position or cframe of an anchored part doesn’t update the physics of unanchored parts that have “settled”. Not sure how to explain that. It’s like the parts enter a sleeping state while until an unanchored part touches them.

So i can’t move a part smoothly with the moving tool and have it collide with things?
(if I move the part with the moving tool while the part is unanchored it does this: robloxapp-20250205-2351212.wmv which just make the touching parts fling)

Is there any good method to test physics, like pushing manually?

you can use movers like linearvelocity and alignposition to move a part for physics pivot also works in certain cases

2 Likes

Yeah I would recommend using AlignPosition and AlignOrientation for moving parts in the context of building in a game.
If you need to, you can also use TweenService, like you’ve been doing, to tween the Position and Orientation properties of the Align objects.
To use these Align objects, you need an anchored invisible part that the player is actually moving.

1 Like

If you use a VectorForce like so

local vforce = Instance.new("VectorForce")
vforce.Attachment0 = Instance.new("Attachment", my_part)
vforce.RelativeTo = Enum.ActuatorRelativeTo.World
vforce.Force = Vector3.yAxis * workspace.Gravity * my_part:GetMass()
vforce.Parent = my_part

It will make the part have 0 gravity.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.