Cute Boar Pack
Last Updated:
Version: 1.1
Table of Contents
[[TOC]]
## Introduction

The Cute Boar Pack is an art asset which contains models, animations, shaders and props. It comes with 3 cute boars, some environment props and some food props.

Image

All custom shaders were created in Amplify Shader for the built-in render pipeline.

Contents

The asset contains the following:

  • 3 Boar Rigged Models: Normal, Derpy, Strong.
  • 8 Animations: Idle, Walk, Run, Sleep, Attack, Eat, Damaged, Death.
  • 4 Grass textures.
  • Props: 2 Nuts, Apple, Mushroom, Rock, 2 Boar Meat, Roast Boar, 2 Tree trunks.
  • 4 Custom Shaders: Toon lighting, Grass, Matcap, Outline.
  • Png image of all props and character in the project.

The asset requires:

  • Built-in Render pipeline or URP (only the grass shader is compatible with URP, others were replaced by the default unlit shader )

The asset does not support:

  • HDRP

Getting started

Open the demo scene to view the models and animations.

There aren’t any complicated steps to follow, simply drag and drop the prefabs in your scene, create your animator controller and enjoy!

Insight in the demo

The demo uses a few scripts to showcase the boar animations.

  • AnimationShowcase: Is used to animate all the boars at the same time.
  • RotationSlider: Is used to rotate the boars to better admire the animations.
  • BoarAnimations: Is used to specify the objects and effects affected by the animations.

Some animations use visual effects. These are activated via scripts using:

visualEffectGameObject.SetActive(true)

For the ‘Sleep’ and ‘Run’ animations the effects are activated at the start of the animation.

The ‘Death’ animation on the other hand uses animation events to activate the effects and the model swap at the perfect time.

Learn more about animation events here

Universal Render Pipeline (URP)

Make sure to install the URP package in your Unity project. Once installed the demo scene for the Cute Boar Pack will be purple. Go to Dypsloom -> Cute Boar Pack -> cute_boar_pack_urp. Open that package and all the materials, shaders and prefabs will update to use URP.