Hey there, I’d like to know if it is possible to make unanchored parts falling and changing of position on the X Axis
, and on the Y Axis
but not on the Z Axis
.
I am making a 2D Platformer, but I have some unanchored parts with some constraints like rods, springs, … But the parts are moving on the Z Axis
that is not what I want.
Is there any way to modify that? Can I use some constraints to do so?
Like, a constraint that make the unanchored part have the same Z Axis position than another part, that is anchored?
I tried loads of things but I don’t really want to use scripts with stuff like
-Invisible walls
while true do
--code
end
--Or
game:GetService("RunService").RenderStepped:Connect(function()
--code
end)
--Or other stuff that may be not good for the server.
Please, I tried loads of stuff to do so but nothing was successful. Please help me
EDIT: I don’t want the blue part to move on the Z Axis, I want it to move on the left, on the right, up and down but not forward and backward. ( https://gyazo.com/22b347ab354329800fca12026af0146a )