drwhut / tabletop-club

An open-source platform for playing tabletop games in a physics-based 3D environment for Windows, macOS, and Linux! Made with the Godot Engine.
https://tabletopclub.net
MIT License
1.27k stars 55 forks source link

Bug: Default orientation for cube tokens #122

Closed elmodor closed 1 year ago

elmodor commented 1 year ago

Describe the bug The default orientation for cube tokens is a bit weird. If we use the example UV mapping from: https://tabletop-club.readthedocs.io/en/latest/custom_assets/asset_packs/file_types.html#cube The "Top" and "Bottom" side are upside down for the player in the default orientation (and when using "Reset Orientation"). The sides are correct.

To Reproduce Steps to reproduce the behavior:

  1. Place the default UV mapping image inside assets/tokens/cube/
  2. Start the game
  3. Spawn the cube

Expected behavior I would expect that Top and Bottom are rotated by 180° to face the default player view.

Screenshots 2022-11-27-23_48_59-select 2022-11-27-23_49_08-select 2022-11-27-23_49_18-select

Environment Arch Linux

Version v0.1.0 Beta 1