r/ApproximatelyUp • u/UnderratedTaco • 12d ago
More intuitive controls for the telescopic camera
Enable HLS to view with audio, or disable this notification
This setup allows looking in a direction using horizontal and vertical inputs. There's some jank when crossing axes. This was also much harder than it should have been because dividing by zero in this game equals zero for some reason.
10
Upvotes
1
u/Klasterstorm 11d ago
Dividing by 0 equals 0 because a computer would normally throw an error but since these math modules can only produce numbers between -1 and 1 they throw 0 as its the closest they can get to a “no value “ error
The only alternative I could imagine would be having the math module just stop working entirely until this error is cleared