I have scripting an animation involving the movement of models and parts. However, each time it is ran outside of studio mode (test mode or playing for real) the results are a bit different each time.

Is there any way to combat this and normalize roblox physics so it's the same each time?

I am using BodyThrust to move the model in my animation.

coroutine.resume(coroutine.create(function()
		for i = 1,200 do
			boat.BoatBody.Base.BodyThrust.Force = Vector3.new(8000,0,0)
			print(i)
			wait(0.01)
		end
		--
		print("speed time")
		for i = 1,50 do
			boat.BoatBody.Base.BodyThrust.Force = Vector3.new(65000,0,0)
			print(i)
			wait(0.01)
		end
		--
		boat.BoatBody.Base.Anchored = true
		wait(2.5)
		boat.BoatBody.Base.Anchored = false
		--
		for i = 1,50 do
			boat.BoatBody.Base.BodyThrust.Force = Vector3.new(65000,0,0)
			print(i)
			wait(0.01)
		end
	end))

2 comments

0

do you have filtering enabled? also post your script

0

I used filtering enabled style but I'm not sure if it's enabled. It's been a while since I have been on roblox