Results 1 to 5 of 5

Thread: setPositionSmooth does not pull from cards in hand?

  1. #1

    setPositionSmooth does not pull from cards in hand?

    Is this intended? How to get the card from hand with setPositionSmooth if it is intended?

  2. #2
    Can you post some example code ?

  3. #3
    I've seen people having this issue, afaik you basically have to setPosition it out of the hand and then setPositionSmooth from there.

  4. #4
    There is not much to example. If you have card in hand and call setPositionSmooth on the card, it wont pull the card out of the player hand

    - - - Updated - - -

    is there anyway to know a location that is relative to a player? or do I have to manually set spots on the table?

  5. #5
    This is a known thing for ages.. hand zones will also "catch cards" id the smooth movement goes through them. I have no idea of that is something that are intending to look at.. my bet is that there are a billion more important things on the todo list for them

    The solution I used was to do a small test. Basically on a card fetch it would test to see if the card was in a given hand zone. Then it would move the card using setposition so it is completely outside the zone.. as in just outside. THEN it would smooth move. The user just sees it smooth move unless they are really looking.. but in reality it is moving with setposition to just outside the hand zone, and then smooth moving.
    My Boardgame uTube chan - Tragic's Table Top
    BGG Guild of BoardGame uTubers - Tube Tables

Similar Threads

  1. Replies: 0
    Last Post: 10-24-2018, 01:03 AM
  2. Can you use setPositionSmooth() to move cards out of hands?
    By Mark in forum Scripting Bug Reports
    Replies: 10
    Last Post: 09-04-2017, 12:44 AM
  3. Replies: 8
    Last Post: 08-14-2017, 11:52 AM
  4. Cards being duplicerad when shuffling cards in hand(!)
    By FurbyFubar in forum Bug Reports
    Replies: 3
    Last Post: 09-25-2016, 04:38 PM
  5. Pull # items Off Stack
    By Shifty in forum General Discussion
    Replies: 3
    Last Post: 10-18-2015, 09:52 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