I want to create a part that only moves on the Y axis, meaning moving up and down. How do I achieve this? (Unanchored Part)
1 Like
You basically do the:
part.Position += Vector3.new(0,ChangeInY,0)
1 Like
No, this is not what I mean, I’m talking about a unachored part moving on one axis.
Ok but yes I understand body gryos but how will those benefit my situation? I don’t think they lock position do they? (ill try tho)
Yeah I don’t think body gryos work for this situation.
You can use body position to that thing instead.
Every Step, you could multiply it’s position so that only the X and Z axis would be 0.
RunService.Stepped:Connect(function()
Part.Position *= Vector3.new(0,1,0)
end)
1 Like