> For the complete documentation index, see [llms.txt](https://earnest-robot.gitbook.io/auto-hand-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://earnest-robot.gitbook.io/auto-hand-docs/auto-hand/extras/smashing.md).

# Smashing

## Smashable

**Smash** component needs to go onto a rigidbody object which you want to make smashable

<div align="left"><img src="https://2959669391-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5zKO0EvOjzUDeT2aiFk3%2Fuploads%2Fgw6NenhIeEIfBri8LLxt%2Fimage.png?alt=media&amp;token=69a5c485-876d-4dfd-ad98-bc0066a89222" alt=""></div>

`Smash Force` is the force required from the hit of a Smasher rigidbody to trigger the **On Smash** event

`Destroy on Smash` whether or not to destroy this object on smash

`Effect` whether or not to create a particle effect on smash

`Create New Effect` whether it should create a copy of the effect or trigger a local effect

`Apply Velocity On Smash` whether or not to apply the local velocity of the smash object on smash

***

## Smasher

**Smasher** component needs to go onto a rigidbody. This component will trigger the rigidbodies with the **Smash** component when it's velocity \* force multi meets the Smash's smash force

<div align="left"><img src="https://2959669391-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5zKO0EvOjzUDeT2aiFk3%2Fuploads%2FsrHuaHpxsEUySqkRTLZK%2Fimage.png?alt=media&amp;token=275c3126-d4e9-4db9-b077-9743c36ce61e" alt=""></div>

`Force Multi` higher force multiplier will decrease the amount of speed a smasher needs to trigger the smash object

`Center of Mass Point` is where the velocity of the object is calculated. Example, place an empty object at the center of the hammer head to get better smashing results
