Block Pen - Xiexe/OldPatreonExclusiveThings GitHub Wiki

This is a geometry shader that allows you to draw blocks. Included is a texture sheet that resembles the Minecraft textures. A script is also included that allows merging of Animators, Avatar Expression Parameters, and Avatar Expression Menus for ease of installation.

The latest version requires Avatars 3.0 and is optimized to enable selecting blocks through the AV3 action menu.

Example: https://gfycat.com/welcomeleadingghostshrimp

Guide for users that already have an AV3 Avatar with an FX animator:

Don't worry, this looks long but most of the process is very fast.

  1. Navigate to the BlockPen / Prefab folder.

  2. Place the prefab under the root of your avatar. (Parented to it.)

  3. Unpack the BlockPen Prefab. (Right click -> Unpack.)

  4. Move the "Anchor" object to be a child of your preferred hand. Position it near the hand, somewhere close, but where it doesn't clip into the hand.

  5. Disable the "BlockPen" gameobject. Everything should now be hidden.

  6. In the top toolbar in Unity, navigate to "Xiexe / Tools / AV3 Animator Merger"

  7. Drag your avatar into the Avatar Descriptor slot.

  8. From the Pen_Av3 folder, drag the "BlockPenExpressionMenu" and "BlockPenExpressionParameters" into the two source slots.

  9. If there's an error about the amount of params, youll need to do as the tooltip says, if not, you will see a merge button. Click it. This will merge the block pen params and menu into your avatars params and menu.

  10. Click the FX Layer dropdown, drag "BlockPen_FX_Animator" into it. Click merge. This will merge the BlockPen FX Animator with your FX Animator.

  11. Upload, open the AV3 menu, and have fun!

Guide for users who are making a fresh new AV3 Avatar:

  1. Navigate to the BlockPen / Prefab folder.

  2. Place the prefab under the root of your avatar. (Parented to it.) 3) Unpack the BlockPen Prefab. (Right click -> Unpack.)

  3. Move the "Anchor" object to be a child of your preferred hand. Position it near the hand, somewhere close, but where it doesn't clip into the hand. 5) Disable the "BlockPen" gameobject. Everything should now be hidden.

  4. In your Avatar Descriptor, go to Playable Layers. Replace the FX Layer with the "BlockPen_FX_Animator"

  5. Under Expressions, assign the Expression Parameters, and Expression Menu from the BlockPen folders.

  6. Upload, open the AV3 menu, and have fun!