BodyForce Acceleration Physics

When you do something like

bodyForce.force = Vector3.new(0, 5000, 0)

What is that saying about acceleration? I thought it’s saying that the acceleration is 5000 studs / sec^2, but when I measure this I get roughly 70, which is the square root of 5000.

local last = tick()

while wait() do
	
	local dt = tick() - last
	last = tick()

    bodyForce.Force = Vector3.new(0, 5000, 0) 

	local deltaVel  = (PART.Velocity - lastVel) 
	lastVel = PART.Velocity
	print(deltaVel/dt) -- formula for acceleration, gives me roughly 70 not 5000

end
1 Like

Well, F = ma, where F is force, m is mass, and a is acceleration. Since you know m and F, you can solve for a as F/m.

2 Likes

Forgot I need to account for mass too.

local last = tick()

while wait() do
	
	local dt = tick() - last
	last = tick()

    bodyForce.Force = Vector3.new(0, 5000, 0) 

	local deltaVel  = (PART.Velocity - lastVel) 
	lastVel = PART.Velocity
	print(mass * (deltaVel / dt)) 
end