# Rod Bend

A `StateMachineBehaviour` that triggers specific rod-bending animations at a precise moment during an animation state. Works with any component implementing `IRodBender`.

***

🔧 **Inspector Settings**

<figure><img src="https://2707882048-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7extQzUzohv5ZZCgCVG8%2Fuploads%2FGGy6R3YjmjNiBrqNG7ML%2Fimage.png?alt=media&#x26;token=3834c71d-2d38-4eee-821c-ca1a02476610" alt="" width="311"><figcaption></figcaption></figure>

**Rod Bend Type**\
Selects which bend animation to trigger:

* **Cast**: Simulates rod flex during casting.
* **Pullback**: Used when pulling back the rod.
* **Hard Bite Bend**: Sharp bend for strong fish strikes.

**Animation Time**\
Normalized time (0 – 1) when the bend effect should start.

***

📈 **Key Behavior**

**Trigger Logic**

* During update: Once animation reaches `animationTime`, calls the corresponding bend method **once** per state entry.

***

💡 **Notes**

* [**FishingRodBendController**](https://sunfish-studios.gitbook.io/fishing-for-animal-controller/main-components/rod-bend-system#fishingrodbendcontroller) implements IRodBender.
* Check Rod Bend System for a complete overview on the system that takes advantage of *RodBendBehaviour*.
