Creating a simple moving part is beyond tedious

I just want to make a part move from A - B… But no matter what settings I give the BodyPosition and BodyGyro, nothing works.

Problem 1. Part will always drop, its Y axis should NEVER change.

Problem 2. Impossible get a smooth movement between 2 points. It’s either ridiculously fast, or way too slow. Impossible to get a middle ground.

I’ve looked through every single free model, watched every tutorial imaginable on this subject. None of them produce what I am after. I’ve copied the EXACT values Roblox uses in this tutorial

And the 2 videos above are my results.

-- Setup movement platforms
for _, move in pairs(CollectionService:GetTagged("Move")) do
	local Platform = move.Platform
	
	local BodyPostion = Platform.BodyPosition
	local Start = move.Start
	local Finish = move.Finish
	
	BodyPostion.Position = Start.Position
	
	coroutine.wrap(function()
		while true do
			BodyPostion.Position = Finish.Position
			
			wait(5)
			
			BodyPostion.Position = Start.Position
			
			wait(5)
		end
	end)()
end
2 Likes

Is there a specific reason you don’t want to use TweenService?

2 Likes

Part needs to affect the player. Using tween service causes the part to move, but characters standing on top of it are not affected and will stay in place

1 Like

How about using a simple position trick?

repeat wait()
Part.Position = Part.Position.X  + Vector3.new() -- insert whatever you want
until Part.Position == -- wanted end position

I’ve never tested this with moving players but it should be a problem.

Wasn’t there an update like a year ago that made the player move with the object when standing on it?

1 Like

This post looks similar to this.

1 Like

cc @LineManticore809 @crappy_usename


This is why you can’t use TweenService/edit the parts position

1 Like

Not really what I meant, check the post 1st before replying.

TweenService can tween any property as long as it conforms to a certain range of types, as said by its page on the dev wiki

I did, I read through the entire thing. It doesn’t answer what I’m asking. The problem is what settings to set my BodyPosition values to, not how to tween it

Use tweening and align position wit this property enabled

1 Like