Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I calculate the distance a block will move on ground?

Asked by
Dfzoz 489 Moderation Voter
4 years ago
Edited 4 years ago

I want to make a gui that shows the maximum distance a part can make travel, considering a flat ground.

The problem is I couldnt find equations for this and I dont know if Part.Friction means coefficient of friction.

I tried some methods using the ball.Position as initial position, ball.Velocity.Magnitude as initial velocity, 0 as final velocity, workspace.Gravity and part.Friction to get acceleration and distance travelled, but results werent right.

The other ones I have found needed a time of travel variable, and to find it I would need final distance, and so it goes.

Answer this question