Results 1 to 3 of 3

Thread: Getting the rotation of a board

  1. #1

    Getting the rotation of a board

    Hi,

    I have a custom board that I use to spawn in cards. If the board is rotated, the cards spawn in the wrong rotation. Is there a way to detect the rotation of the board?

    I tried using getRotationValues(), but that wasn't giving me anything.

    The board with no rotation:
    mtg-deck-loader-1.jpg

    After I rotate the board 90 degrees:
    mtg-deck-loader-rot.jpg

  2. #2
    Code:
    board.getRotation()

  3. #3
    Quote Originally Posted by dzikakulka View Post
    Code:
    board.getRotation()
    Love it. That was easy. Thanks.

Similar Threads

  1. Rotation to Local and Rotation to World
    By Paradukes in forum Suggestions
    Replies: 0
    Last Post: 12-15-2018, 12:51 PM
  2. Dynamically set the board image
    By ootm in forum Scripting
    Replies: 1
    Last Post: 07-09-2016, 11:07 PM
  3. Custom marbles board
    By billboshankins in forum Original Content
    Replies: 5
    Last Post: 06-18-2016, 06:18 PM
  4. Board advice
    By jgerman in forum General Discussion
    Replies: 0
    Last Post: 07-25-2014, 10:04 AM
  5. board = tile and 2 or three other points
    By flarre in forum General Discussion
    Replies: 0
    Last Post: 05-12-2014, 08:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •