Skip to content

shemetz/AlternativeRotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release (latest SemVer) GitHub Releases GitHub All Releases
Latest Supported Foundry Version

Allows rotating tokens and tiles towards your cursor with a hotkey.

To install, browse for it in the module browser, or directly copy the manifest link for the latest release.

thumbnail

Gifs

simple_rotation_demo

multiple_rotation_demo_2

full_rotation_demo

Features

This module adds a new way of rotating tiles, tokens, or templates: holding O (configurable hotkey) and moving your cursor around. The token will rotate to face the cursor (with its image "bottom"), settling when you let go of O. This is in addition to the default methods of rotation a token in Foundry - shift+scrolling while hovering over it, and shift+arrows when selecting it.

You can also hold O while having multiple tiles/tokens selected; this will make all selected tiles/tokens turn to face your cursor, until you release the hotkey.

By holding Shift (configurable), rotation will snap to the grid directions (same directions you'd snap to when doing the default "fast rotation" in Foundry; 45° or 60°). With R only, rotation will snap to 5 degrees, though you can completely disable even this snapping in the settings ("Smooth rotation").

Rotation will assume that the bottom of the token image is its "front"; the token looks down when viewing its image. This is the most common standard for token images.

Both of the above hotkeys are configurable as normal - i.e. to change them you can open the "Configure Controls" settings window, click "Alternative Rotation", and then change the hotkeys. Note about the R key: Previously this key was the default rotation key used, but Foundry V13 added a new default keybinding, R to toggle ruler; for this reason I changed this module's default key to O.

By default, "Fast Preview" is enabled in the settings. It makes your token rotation feel fast and responsive, but it will not update the token until you let go of the hotkey; this means the other players will only see the changes when you stop rotating the tokens. If you want to show an enemy smoothly rotating to face the players, you should disable this setting (and tweak the rotation frequency if you find it necessary).

Here's an example of how "Fast Preview" looks like when disabled. The right screen is what you see, and the left screen is what other players will see.

fast_preview_disabled

And when enabled:

fast_preview_enabled