Use the same coordinate space for both points
Choose two world positions, or two points in the same local space. Subtracting values from unrelated spaces can produce a number that does not answer your intended question. This tool takes numerical coordinates; it does not inspect your Roblox place or convert between local and world space.
Displacement and magnitude
The displacement is B minus A. Distance is the square root of the sum of the three squared components. The default points produce displacement (3, 0, 4) and distance 5 studs. Changing only B Y adds a vertical component: the calculator always uses full three-dimensional distance.
The Roblox Vector3 reference lists Magnitude and the vector arithmetic operations used in the generated snippet. The browser calculates ordinary numerical geometry, rather than running the Roblox engine.
Direction and the zero-vector fallback
For a distance above 0.000001 studs, direction is displacement divided by distance. At or below that threshold, the tool returns the deliberate Vector3.zero fallback. A zero vector has no unique direction. The threshold is an editor policy shared by the exported helper, not a universal rule for every game.
Try Same point: distance and direction become zero, so a step leaves the result at A. Try Vertical: only the Y component changes. Reset all restores the original points and step.
A fixed step may pass the target
The point after the step is A plus direction multiplied by step distance. When that step exceeds the remaining distance, the result passes B. The tool reports this without silently clamping your values. A movement controller may choose to cap a step at the target, but that is a separate policy.
What the export contains
The download contains startPoint, targetPoint, stepDistance, and the guarded calculation. It prints its results; it does not move a Part or create a controller. Displayed results use nine significant digits and may differ slightly from Roblox floating-point output. Studio execution has not been verified here.
All fields must be finite numbers. Coordinates are limited to ±1,000,000 and step distance to 0–1,000,000. Those are tool limits. Empty or invalid fields disable export. Values reset on reload.
Continue with the Vector3 guide for a complete Output exercise, the CFrame guide for orientation and coordinate spaces, or the raycasting guide for a spatial-query exercise. A distance calculation alone does not validate collision, reachability, or a player action.