Content · 25
Added a held_by_color member variable to the Object script.
held_by_color member variableThe Player class can get and set a player's lift height.
player lift height get/settakeObject() can remove a card from a deck based on its index within the deck.
takeobject() removal by deck indexAdded addForce() and addTorque() to the Object script.
addforce() and addtorque() methodAdded getVelocity() and getAngularVelocity() to the Object script.
getvelocity() and getangularvelocity() methodAdded a guid member variable to the Object script.
guid member variableAdded a Player class and a getPlayer() function.
player class and getplayer() functionThe Player class can check whether a player is blindfolded; setting it calls blind()/unblind().
player blindfold statuAdded blind() and unblind() to the Player class.
player blind() and unblind() methodAdded a Counter class.
counter classAdded a bounciness member variable to the Object script.
bounciness member variableAdded Tablet URL to getValue() and setValue().
tablet url support in getvalue() and setvalue()Added removeButton(), which takes a frame to remove the button so multiple buttons can be removed in one frame while preserving indices; indices update the following frame.
removebutton() methodAdded getButtons() to the Object script.
getbuttons() methodAdded editButton() to the Object script.
editbutton() methodAdded a use_gravity member variable to the Object script.
use_gravity member variableAdded a mass member variable to the Object script.
mass member variableAdded getStateCount(), shuffleStates() and setState() to the Object script.
getstatecount(), shufflestates() and setstate() methodAdded a dynamic_friction member variable to the Object script.
dynamic_friction member variableAdded an angular_drag member variable to the Object script.
angular_drag member variableAdded the ability to spawn Custom Figurine, Custom Board, Custom Tile, Custom Token and Custom Dice objects.
spawn custom figurine, board, tile, token and diceAdded a static_friction member variable to the Object script.
static_friction member variableAdded onPickedUp() and onDropped() events to the Object script.
onpickedup() and ondropped() eventAdded cut() for stacks and decks.
cut() method for stacks and deckAdded a drag member variable to the Object script.
drag member variable
Controls · 1
Spectators can no longer click on Lua-created buttons.
spectator clicks on lua button
System · 17
These functions are deprecated and replaced by getPointerPosition(), getPointerRotation() and getPlayerHand() in the Player class.
pointer and hand position functions moved to player classObjects taken from a container default to the container's rotation when no rotation is given; to keep a card's up/down facing, set its z rotation to the deck's z rotation.
default rotation of objects taken from a containerThe four global script accessors are deprecated in favor of Global.getVar, Global.setVar, Global.getTable and Global.setTable.
global variable and table accessor functions deprecatedtakeObject() gains an optional 'callback_owner' parameter.
takeobject() callback_owner parameterAdded a 'Global' global reference, intended only for things the Global Script owns.
global reference added to object and globalAdded a 'resting' member variable to the Object script.
resting member variableNow returns nil for an unseated player color and lets script execution continue.
colortoplayername() return value for unseated coloronPlayerTurnStart() is now called after the player clicks OK in hotseat mode.
onplayerturnstart() timing in hotseat modeonObjectDestroyed() now receives the object reference as a parameter, has 1 frame left to live, and fires immediately before the object's onDestroy() event.
onobjectdestroyed() event parameter and timingRemoved the error message; the function now simply returns nil.
getobjectfromguid() error messageAdded an optional parameter to takeObject() for decks to take from either the top or bottom, defaulting to top.
takeobject() top or bottom option for deckspawnObject() now takes a Table parameter that includes a callback function.
spawnobject() parameter typeBoth now return nil when passed a player color that is not seated.
getpointerposition() and getpointerrotation() return value for unseated colorReordered the parameters of setGlobalScriptTable().
setglobalscripttable() parameter ordercolorToPlayerName() is deprecated; the name is now the steam_name member variable of the Player class.
colortoplayername() replaced by steam_nameCalling getObjects() on a deck now returns a list of its cards with their indices inside the deck.
getobjects() on a deck return valuetakeObject() called from a deck now takes the top card by default instead of the bottom.
takeobject() default card from deck
Fix · 7
createButton() can now be called immediately after clearButtons() in the same frame.
createbutton() after clearbuttons() in same frameFixed setRotationSmooth() and rotate() when given (0, 0, 0).
setrotationsmooth() and rotate() with zero rotationFixed multiple buttons on a single object not syncing to players who joined late.
multiple buttons on one object not syncing to late joinerFixed getSeatedPlayers() so it now returns a deep copy of the player list.
getseatedplayers() playerlist copyFixed setTable(), which was not working correctly before.
settable() behaviorAdded the missing parameters for setCustomObject for Custom Model.
setcustomobject parameters for custom modelFixed setGlobalScriptTable(), which was not working correctly before.
setglobalscripttable() behavior
Also in this patch14
Beta branch reduces stutter.
stutterTablet screen is not working in the Unity 5 beta.
tablet screenBeta branch makes the UI much more responsive.
ui responsivenessThe beta branch moves Tabletop Simulator to Unity 5 with the same graphics; physics-based rendering is planned for later.
physics and rendering engine upgrade to unity 5Beta branch makes box select work properly when 3D Text is selected.
box select with 3d text selectedBeta branch makes Zones such as Hidden and Lua much more reliable.
zone reliability (hidden, lua, etc.)Beta branch greatly improves the accuracy of auto raise.
auto raise accuracyNot all sounds are working on Linux in the Unity 5 beta.
sounds on linuxBeta branch increases the number of objects that can be selected or grabbed from 64 to 128.
selectable/grabbable object limitBeta branch includes overall performance improvements.
overall performanceBeta branch improves physics stability and performance.
physics stability and performanceIn the beta branch objects will no longer go through each other.
objects passing through each otherBeta branch optimizes many scripts for improved performance.
script optimizationTouch input is currently disabled in the Unity 5 beta for porting.
touch input


