This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
global:rotation [2022/08/02 22:44] FreedTerror |
global:rotation [2024/12/06 01:54] (current) Mistermind |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Character Rotation Options ====== | ====== Character Rotation Options ====== | ||
- | Change | + | Customize |
{{ : | {{ : | ||
- | **Right Side Mirror:** If enabled, characters will automatically invert their position on screen. By default, characters also rotate. Disable this option to have the character face differently depending on the side they are on. | + | ---- |
- | **Rotate While Jumping:** If enabled, | + | **Right Side Mirror:** Automatically mirrors |
- | **Allow Airborne Side Switch:** | + | **Always Face Opponent:** Ensures characters are always rotated to face their opponent. (Default: Enabled) |
- | **Rotate | + | **Rotate |
- | **Fix Rotation When Stunned:** If enabled, characters will automatically fix their rotation, even when stunned. | + | **Allow Airborne Side Switch:** Permits side switching while airborne. (Default: Disabled) |
- | **Fix Rotation When Blocking:** If enabled, characters | + | **Rotate On Move Only:** Characters |
- | **Fix Rotation | + | **Fix Rotation |
- | **Rotation | + | **Fix Rotation |
- | **Allow Corner Stealing:** | + | **Fix Rotation On Hit:** Adjusts character rotation instantly upon being hit. (Default: Disabled) |
- | **Smooth Rotation:** | + | **Allow Corner Stealing:** Allows a character to steal their opponent' |
- | **Rotate While Jumping:** | + | **Smooth Rotation:** Enables smoother transitions when rotating. (Default: Enabled) |
- | * **Smooth | + | * **Rotation |
- | **Mirror Blending (Mecanim Only): | + | **Mirror Blending (Mecanim Only): |
---- | ---- | ||
+ | |||
Code access: | Code access: | ||
- | '' | + | < |
- | Code example: | ||
- | <code c#> | ||
- | void OnRoundEnds(CharacterInfo winner, CharacterInfo loser){ | ||
- | // Make sure my outro animation runs with the character facing the screen. | ||
- | UFE.config.characterRotationOptions.autoMirror = true; | ||
- | } | ||
- | </ | ||
---- | ---- | ||
[[global: | [[global: | ||
+ |