Hi there,
I am trying to replicate as close as possible the behavior of drawing blocks from Infinifactory. At first I thought this would be a very straightforward task, but my implementation leads to a very unintuitive player experience.
Here is a video of Infinifactory for more context:
it seems like there is a stack of rules to apply when detecting toward which direction a single block can be “extruded”, I am trying to define as many of them as possible, so far these are what I can speculate:
- faces are subdivided, these subdivision are detected when raycasting from the camera, and help define a direction of drawing?
- camera direction?
- maybe invisible planes?
- maybe 2D space vs 3D space test?
The part that is the most mind boggling to me is at 6:50 in the video. The axis of extrusion can be completely switched from x to z and back while still pretty far from the starting position.
Such a simple mechanic that we take for granted hides way more complexity when picking at it.
Any help understanding it would be greatly appreciated.
Thanks