Tabletop Simulator

Tabletop Simulator

Not enough ratings
Lay Down - Object rotation tool
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
Tags: Misc
File Size
Posted
9.686 KB
30 Aug, 2016 @ 6:55am
1 Change Note ( view )

Subscribe to download
Lay Down - Object rotation tool

Description
On button press, this tool looks for the last object you touched and then rotates it 90 degrees to put it on its side. The axis it rotates on can be changed by clicking the toggle, although generally X will be the "correct" axis.

Due to how TTS works, the piece is automatically rotated back to "standing" if you pick it back up after rotating it, this tool does not try to prevent this. If you need to lay it down again after picking a piece up, just click the button again.
10 Comments
Peter Robbins 22 Nov, 2020 @ 3:15pm 
First off, thank you for this tool! very useful. One question. I was only able to reduce its degrees down to 2. (I need this to rotate warships in a naval miniatures wargame). If I set it down to 1, or -1 in for each access referenced in the Lua, it stops working. Any ideas? I use 2 or -2 throughout, and it works like a charm. Anyhow, THANK YOU. The TTS folks need to allow for down to 1 degree rotations in its main menu degree settings. (it only allows down to 15deg currently). This tool you've made is a great interim solution for now. Thanks for it.
Groule 17 Mar, 2018 @ 7:04am 
Thank you ! Another usefull one ^^ 👌
MrStump  [author] 17 Nov, 2016 @ 3:58pm 
Ideally it would, but scripting does not support adding keyboard button functions or chat commands.
Вразумихин 17 Nov, 2016 @ 1:51pm 
just figured it out. the button is a scripted object that has to be put in the chest. i thought it would be a mod not a "board game" set
MrStump  [author] 17 Nov, 2016 @ 10:38am 
The button is the button on the device.
Вразумихин 17 Nov, 2016 @ 3:15am 
btw, i don't know where the button is bound to, nor can i find it anywhere in the game ui. pls clarify
Вразумихин 17 Nov, 2016 @ 3:02am 
this feature has to be officially implemented
Eliont 30 Sep, 2016 @ 11:03pm 
thanks
Star-X 5 Sep, 2016 @ 2:30pm 
Sadly doesn't work with two-part tokens (i.e. 2d object with separate base). Oh well, guess I'm switching back to single part tokens for this.
Star-X 30 Aug, 2016 @ 8:19pm 
Holy crud, exactly what I needed for online Mordheim. Thanks :D