The '''UnwrappableBoxDriver''' component makes a 6 sided cube made of individual squares unwrap itself into a flat area like a paper box. This can be used for presents or for air dropped care packages.
The '''UnwrappableBoxDriver''' component makes a 6 sided cube made of individual quads that unwrap themselves into a flat area like a paper box.
A box is auto generated upon attaching the component and fields are auto filled.
A box is auto generated upon attaching the component and fields are auto filled.
This can be used for presents or crates.
<!--T:2-->
<!--T:2-->
Line 41:
Line 43:
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Attach to a slot and a settup will automatically be generated. The sides can be customized to the user's liking and the <code>Unwrap</code> field adjusted or hooked into a driver.
Attach to a slot and a box will automatically be generated and setup. The sides can be customized to the user's liking and the <code>Unwrap</code> field adjusted or hooked into a driver.
<!--T:4-->
<!--T:4-->
Latest revision as of 21:21, 13 February 2025
Component image
Unwrappable Box Driver component as seen in the Scene Inspector
The UnwrappableBoxDriver component makes a 6 sided cube made of individual quads that unwrap themselves into a flat area like a paper box.
A box is auto generated upon attaching the component and fields are auto filled.
The scale field of the content of the top side of the box.
Usage
Attach to a slot and a box will automatically be generated and setup. The sides can be customized to the user's liking and the Unwrap field adjusted or hooked into a driver.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.