The grind movement works the same way as the pipe movement. Grinding is executed by pressing a button in proximity to a spline. The position is defined by the spline offset. The offset is modified by the initial velocity relative to the spline.
1/x
#godot #gamedev #indiegame #coding
1/x
#godot #gamedev #indiegame #coding
Comments
The balance-motion only happens on the visual player component. The player controller itself is always aligned to the spline. The up-vector is sampled from the spline.
2/x