Transform Flip X To Face Float Direction
Flips a Transform horizontally based on a float direction value.
Positive values face right and negative values face left.
Parameters
| Parameter | Description |
|---|---|
| Transform | The Transform to flip. |
| Float Direction | Float value used for the facing decision. |
| Invert | Reverses the facing test if needed. |
Notes
- This works well with horizontal input axes and movement speed values.
- A near-zero value will usually leave the current facing unchanged.