This recent prototype involves creating pumpkins and candy bars on the fly. When drawing a line renderer on the scene, the line can be a radius or also specify a length in which to spawn objects. The result? Pumpkins are currently spheres for now, but have the possibility of carrying various properties like bounciness, drag, and floatiness (through physics materials).
Candy bars? Candy bars are a bit different, resulting in specific width boxes connected in a single rigidbody. This gets a bit tricky when destroying a link in that chain, forcing two separate entities to hold the rest:
Next up? Actually drawing the candy bars.
No comments:
Post a Comment