VASSAL Reference ManualHome > Module > Game Piece Palette > Game Piece > Can Pivot |
||
Can Pivot
|
This trait allows a piece to pivot around
a fixed point relative to its current position. This trait is
only applicable if the piece also has a Can Rotate
trait, which appears before the Can Pivot trait. Command: The right-click menu command to pivot the piece. Keyboard command: The keyboard shortcut of the command. Pivot Point: The location, relative to the center of the piece and its current facing, around which the piece will rotate. Positive numbers are down and to the right. Example: For a piece of size 40x40, a pivot point of 20,-20 will rotate the piece around its upper right corner. Pivot through fixed angle: If selected, then invoking the command will pivot the piece through the angle specified in the Angle field, in degrees clockwise. If left unselected, then invoking the command will allow the player to pivot the piece interactively by any angle by dragging the mouse. |
![]() |