


Magic Walls
Goal
Requirements
When I set out to make the walls system, I wanted to create a singular mechanic that can be the base for lots of different types of puzzles and challenges. The final idea was to have the character be able to "draw" walls by aiming and dragging the cursor!
-
Holding the button and dragging the cursor results in a smooth, connecting wall.
-
Walls can only be drawn on specific surfaces.
-
Walls must be able to interact with external objects for puzzles
Implementation
For this mechanic I only had a week to complete the prototype. I found a simple and straightforward solution: Use splines! By using a spline and using raytracing to determine the surface normal of the object being "drawn" on, I was able to create an easy to use system, perfect for puzzles and exploration!