> For the complete documentation index, see [llms.txt](https://streambuddies2.felineentity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://streambuddies2.felineentity.com/stream-buddies-2/creating-props-for-buddies.md).

# Creating Props for Buddies

Some tips on creating Warudo Prop Mods for use in SB2.

Creating Props for Buddy use is not much different than [creating regular Prop Mods](https://docs.warudo.app/docs/modding/prop-mod), but you can do some things to ensure performance staying high and your Buddy looking good.

When creating your Prop object, ensure that its Mesh is standing "on the floor" when placed at the world origin. Otherwise the Prop will be sunken into the ground when used as a Buddy.

If you want to make sure your Prop stays performant even when used in higher Buddy counts, besides lowering poly count, material count and texture resolution, you can also [deploy LODs](https://docs.unity3d.com/2021.3/Documentation/Manual/LevelOfDetail.html). The default Animal Props in Warudo use LODs and you can see them being swapped as you zoom in and out from them.

Lastly, SB2 will detect if your Prop has an Animator and will set certain Animator Parameters to the first one it finds. The parameters it sets are:

* **WalkSpeed (Float):** This will be set to 1 when standing still, and then increase based on its speed.
* **isGrounded (Bool):** Will be true when the Buddy is standing on something or is frozen/anchored.
* **isFlying (Bool):** Will be true if the Buddies movement mode is set to Flying.

The reason WalkSpeed starts at 1 and not at 0, it that this allows you to create a Blend Tree in your Animator with an Idle and Walk Animation, set with a Threshold of 1 and 2 respectively, and then set the Speed Multiplier of the Tree to the WalkSpeed as well. That way not only does it nicely blend between your idle stance and walk cycle, but it also speeds up as the Buddy runs faster!

<figure><img src="https://1693557609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7oowhN4HFDtKmcHKVKlT%2Fuploads%2FhBDBkeIEGWj4gAriDKrO%2Fimage.png?alt=media&amp;token=b6f73f45-600d-40be-9f16-0d65585b2c43" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1693557609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7oowhN4HFDtKmcHKVKlT%2Fuploads%2FZIxlU7wq59N2WTOx9sll%2Fimage.png?alt=media&amp;token=e8965ab3-54f6-4562-b88c-9f5f01b0b5fb" alt=""><figcaption></figcaption></figure>

You can detect isGrounded being false to play a jumping or falling animation, and isFlying to make your Prop flap its wings. If you have more ideas for future Parameters SB2 should set, let us know in the [Discord](https://discord.gg/uHtJRxChWv)!
