A downloadable tool for Windows

Buy Now$20.00 USD or more

Stop guessing spatial math in spreadsheets and slow compile-test loops.

SpatialMath Studio lets you tune projectile physics, weapon recoil, perception

cones and platformer jumps visually — then exports the exact same math as clean,

idiomatic code for Roblox Luau, Unity C#, Unreal C++, and Godot GDScript or C#.

The preview and the export are generated from a single shared expression tree,

so, the trajectory on screen and the function you paste into your game cannot drift apart.


WHAT IT IS

A standalone Windows desktop tool for tuning game math visually and exporting it

as production code. No engine plugin, no project integration, no account.


FOUR MODULES

Ballistics & Piercing — projectile flight under gravity, quadratic drag and wind.

Resolves each surface hit as a ricochet, a penetration through stacked resistance

layers, or an embed, with per-impact energy accounting. Presets for sniper, mortar,

arcade grenade and skipping stone.

Recoil & Camera — two-axis spring-damper weapon kick with per-shot impulses and

deterministic procedural shake. See the recovery curve and the spray pattern the

burst traces on a target. Presets for assault rifle, shotgun, SMG and explosion shake.

Field of View & Cones — occluded radial sweeps and line-of-sight checks against a

wall. Covers AI sight cones, melee slash arcs and area-of-effect triggers.

Kinematic Jump — state your intent ("4 units high, apex in 0.4 seconds") and the

tool solves the gravity and launch velocity that produce it, then simulates jump

cut, asymmetric fall gravity, terminal velocity and coyote time.

FIVE EXPORT TARGETS

  1. Roblox Luau (strict typing, exported types, module table)
  2. Unity C# (UnityEngine.Vector3, Mathf, in-parameters for structs)
  3. Unreal C++ (UBlueprintFunctionLibrary, proper header/source split, USTRUCT)
  4. Godot GDScript (snake_case, typed, @export on tunable params)
  5. Godot C#

Each target uses its own idiom — not a find-and-replace. Roblox's 1-based arrays and

immutable vectors, Godot's bounce() versus reflect(), Unity's degree-based angles:

all handled, so the output reads like code a developer on that engine would write.

WHY THE PREVIEW CAN BE TRUSTED

Each module's math is defined once as a typed expression tree. An evaluator walks

that tree to draw the viewport; the language emitters walk the same tree to produce

source. There is no second copy of the math to fall out of sync.

ALSO INCLUDED

- Scrubbable 0-5s timeline; pause mid-flight and read exact position and velocity

- Spacebar playback with looping and 0.25x-2x speed

- Orbit/pan/zoom 3D viewport with auto-framing and an axis triad

- Step-by-step impact breakdown with energy loss per event

- AST inspector showing the tree your code was generated from

- Rename exported parameters to match your codebase conventions

- Instant validation for divide-by-zero and non-terminating parameters

REQUIREMENTS

Windows 10 or 11, 64-bit. ~190 MB installed. Runs fully offline.


Purchase

Buy Now$20.00 USD or more

In order to download this tool you must purchase it at or above the minimum price of $20 USD. You will get access to the following files:

SpatialMathStudio_pro.zip 77 MB

Leave a comment

Log in with itch.io to leave a comment.