Skip to content

Rotate playfield to correct angle during gameplay.#370

Merged
freezy merged 3 commits into
masterfrom
feature/rotated-playfield
Jan 18, 2022
Merged

Rotate playfield to correct angle during gameplay.#370
freezy merged 3 commits into
masterfrom
feature/rotated-playfield

Conversation

@freezy
Copy link
Copy Markdown
Owner

@freezy freezy commented Jan 18, 2022

If we put the playfield into a cabinet model, we'll need to fix its rotation. We can't do it in the editor, because we need a horizontal playfield for editing. This PR adds a new rendering slope angle to the playfield component which rotates the playfield when a game starts.

Before:

image

After:

image

@freezy freezy self-assigned this Jan 18, 2022
@freezy freezy added editor Editor-related changes for Unity enhancement New feature or request player Related to the player rendering Concerns the HDRP or the URP labels Jan 18, 2022
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 18, 2022

Codecov Report

Merging #370 (59fb8dc) into master (4835133) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #370   +/-   ##
=======================================
  Coverage   84.13%   84.13%           
=======================================
  Files         128      128           
  Lines        6973     6973           
=======================================
  Hits         5867     5867           
  Misses       1106     1106           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c0cca68...59fb8dc. Read the comment docs.

@freezy freezy merged commit 9eaafb5 into master Jan 18, 2022
@freezy freezy deleted the feature/rotated-playfield branch January 18, 2022 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

editor Editor-related changes for Unity enhancement New feature or request player Related to the player rendering Concerns the HDRP or the URP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant