This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
global:rotation [2014/04/29 02:49] Mistermind created |
global:rotation [2024/12/06 01:54] (current) Mistermind |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | These options are very delicate. Make sure you know what you are doing before editing this! | + | Customize how characters handle rotation when switching sides during gameplay. |
- | {{ :global:global_rotation.jpg?nolink |}} | + | {{ :global:global_characterrotationoptions.png?nolink |}} |
- | **Auto 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 |
- | **Rotate On Move Only:** If enabled, | + | **Always Face Opponent:** Ensures |
- | **Fix Rotation When Stunned:** If enabled, characters will automatically fix their rotation even when stunned. | + | **Rotate While Jumping:** Characters rotate mid-air |
- | **Fix Rotation When Blocking:** If enabled, characters will automatically fix their rotation even when blocking. | + | **Allow Airborne Side Switch:** Permits side switching while airborne. (Default: Disabled) |
- | **Rotation Speed:** How fast should the characters | + | **Rotate On Move Only:** Characters will only rotate when performing movement. (Default: Disabled) |
- | **Mirror Blending (Mecanim Only): | + | **Fix Rotation When Stunned:** Automatically fixes the character' |
+ | |||
+ | **Fix Rotation When Blocking:** Ensures characters maintain proper rotation when blocking. (Default: Enabled) | ||
+ | |||
+ | **Fix Rotation On Hit:** Adjusts character rotation instantly upon being hit. (Default: Disabled) | ||
+ | |||
+ | **Allow Corner Stealing:** Allows a character to steal their opponent' | ||
+ | |||
+ | **Smooth Rotation:** Enables smoother transitions when rotating. (Default: Enabled) | ||
+ | * **Rotation Speed:** The speed at which characters rotate when switching sides. (Default: 30) | ||
+ | |||
+ | **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: | ||
+ |