I’ve been working on something for my game recently, and I ran into an issue where when I manually set the rotation of an object every frame, AlignPositions don’t work as intended. I have to set the object’s rotation in my case because it’s a collider for the character and I don’t want it to fall over. I’ve also tried using an AlignOrientation instead, but it isn’t responsive enough and has issues.
Code Example
game["Run Service"].Stepped:Connect(function()
script.Parent.CFrame = CFrame.new(script.Parent.Position)
end)
Can I see the property’s of the AlignPosition?
Edit: Based off of the video, the MaxForce is way too low.
If you want it to stay in place, make it atleast 100,000
I should’ve mentioned, I’ve tried adjusting the settings before and even RigidityEnabled doesn’t work in this case.
I managed to find a workaround. Instead of offsetting the attachment I leave it at the center of the object, use the OneAttachment mode, and then calculate the correct position in a script. This works in my case, but it’s still annoying that it happened in the first place.