User Tools

Site Tools


global:rotation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
global:rotation [2022/08/02 22:48]
FreedTerror
global:rotation [2024/12/06 01:54] (current)
Mistermind
Line 1: Line 1:
 ====== Character Rotation Options ====== ====== Character Rotation Options ======
-Change how the characters should rotate when switching sides.+Customize how characters handle rotation when switching sides during gameplay.
  
 {{ :global:global_characterrotationoptions.png?nolink |}} {{ :global:global_characterrotationoptions.png?nolink |}}
  
-**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.+----
  
-**Always Face Opponent:**+**Right Side Mirror:** Automatically mirrors characters [[:animationtypes|animations]] when switching sides. (Default: Enabled)
  
-**Rotate While Jumping:** If enabled, characters will rotate immediately during jump when switching sides.+**Always Face Opponent:** Ensures characters are always rotated to face their opponent(Default: Enabled)
  
-**Allow Airborne Side Switch:**+**Rotate While Jumping:** Characters rotate mid-air when switching sides. (Default: Disabled)
  
-**Rotate On Move Only:** If enabled, characters will remain facing the opposing direction if no button is pressed (similar to Mortal Kombat 9 and InjusticeGods Among Us)+**Allow Airborne Side Switch:** Permits side switching while airborne. (DefaultDisabled)
  
-**Fix Rotation When Stunned:** If enabled, characters will automatically fix their rotation, even when stunned.+**Rotate On Move Only:** Characters will only rotate when performing movement(Default: Disabled)
  
-**Fix Rotation When Blocking:** If enabled, characters will automatically fix their rotation even when blocking.+**Fix Rotation When Stunned:** Automatically fixes the character'rotation when stunned(Default: Disabled)
  
-**Fix Rotation On Hit:** If enabled, characters will automatically fix their rotation //the moment// they get hit.+**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's corner position during side switching. (Default: Disabled)
  
-**Allow Corner Stealing:**+**Smooth Rotation:** Enables smoother transitions when rotating. (Default: Enabled) 
 +  * **Rotation Speed:** The speed at which characters rotate when switching sides. (Default: 30)
  
-**Smooth Rotation:** +**Mirror Blending (Mecanim Only):** Defines the blending speed for mirrored animations when using Mecanim. (Default: 0.04)
-  * **Rotation Speed:** How fast should the characters rotate when switching sides. +
- +
-**Mirror Blending (Mecanim Only):** If mirror is toggled and Mecanim Control 2.0 is being used, how fast will the blending between the animations will be. Mecanim Control 2.0 is available under "Scripts/MecaimControl2.zip" (warningcurrently [[http://forum.unity3d.com/threads/224315-Mecanim-Control|Mecanim Control 2.0]] cannot be compiled into buildsMake sure you know what you are doing!)+
  
 ---- ----
 +
 Code access:  Code access: 
  
-''UFE.config.characterRotationOptions''+<code>UFE.config.characterRotationOptions</code>
  
-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; 
-} 
-</code> 
 ---- ----
  
 [[global:start|< Back to Global Editor]] [[global:start|< Back to Global Editor]]
 +
global/rotation.1659494906.txt.gz · Last modified: 2022/08/02 22:48 by FreedTerror