branchrust_reboot/main/hackweek_base_heatingcancel

16 Commits over 0 Days - Infinitycph!

1 Year Ago
Uncommited stuff
1 Year Ago
Figure out why blocks don't want to connect to their opposite side
1 Year Ago
Connect together faces when entity links update
1 Year Ago
Fix debug points for walls
1 Year Ago
Add debug points to faces so we can ddraw better visualizations for the faces
1 Year Ago
Fix backface check for 180 degree faces not working due to needing a bigger offset with the normal
1 Year Ago
Make logging "a little clearer"
1 Year Ago
Crappy visualization method of connected links so I can make a video of it working
1 Year Ago
Handle case of one face connecting to two other faces with the same angle by choosing the face that is closer - bottom face of wall connecting to top + bottom faces of a wall via the side socket - fixes so bottom <-> bottom and top <-> top since they are closer
1 Year Ago
Fix dot product of normals missing `Mathf.Abs()` causing it not to catch special case of 180 degrees
1 Year Ago
Temp fix for TextTable Pooling error NRE so I can use breakpoints
1 Year Ago
Commit bunch of stuff - setup faces & edges when setting up entity links (edges are essentially groups of entity links) - add 'printfaces' command to debug what faces are closest and what edges are considered connected - after a "bit" of trial and error grab the old "CalculateAngle()" method from previous hackweek and rewrite it - be greedy and recalculate all closest faces whenever links change (instead of being smart with caching, it's a hackweek) - all that should be left is debugging why certain faces don't want to consider themselves connection candidates
1 Year Ago
Rename BlockFace -> BlockFaceDefinition so I can make runtime types with normal names
1 Year Ago
Define sockets for square floor
1 Year Ago
Define faces and edges for a normal wall
1 Year Ago
Proper MVP implementation of "full base heating" - add ability to define faces & edges of each building block - draw gizmos to visually confirm what you are defining