Riftrunner Peek of the Week #17
-
Category: News ArchiveHits: 689
The last step before the object is placed into the game is called cubing... That step literally sucks! Every object needs a cube and a bounding box to be able to place it properly into the game. Those cubes involve three red dots in three corners, which represent the height, the width and the depth of the object. It actually tells an editor where exactly parts of the same object intersect or meet. The bounding box is the line that (as the word is telling you) gives the complete size of the object. It contains both the complete graphic and the cube, which is is the thing that makes collision work (determining whether you can or can't run into or over things). After the cubing process is done, I have to pass the object - together with its coordinates - to Ike (programmer for Riftrunner) for further implementation.