You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the Build Panel (top-left) to add or remove blocks at runtime.
Controls
Key
Action
W / S
Throttle forward / reverse
A / D
Steer left / right
Block face indices
0 = +X 1 = -X
2 = +Y 3 = -Y
4 = +Z 5 = -Z
Architecture notes
One Rigidbody per vehicle, always on VehicleRoot. Block prefabs have
their Rigidbody components stripped on spawn.
Mass and center-of-mass recalculate on every TryAddBlock /
RemoveBlock call via RecalculateMassDistribution().
Wheel physics run in each WheelBlock.FixedUpdate() — no WheelCollider.
Spring → drive → lateral friction applied at the wheel world position.
Death condition: VehicleManager.NotifyBlockDestroyed() checks if the
removed grid position matches _cabGridPos; if so OnCabDestroyed() fires,
detaches all remaining blocks as independent Rigidbodies, and disables the
vehicle.
About
An attempt to modernize the gameplay of terra tech for personal use