Tabletop Simulator

Tabletop Simulator

Not enough ratings
Local Position Finder
   
Award
Favorite
Favorited
Unfavorite
Type: Objects
Number of Players: 2, 3, 4, 5, 6
Play Time: 180+ minutes
File Size
Posted
Updated
14.069 KB
30 Apr, 2021 @ 8:17am
30 Apr, 2021 @ 8:38am
2 Change Notes ( view )

Subscribe to download
Local Position Finder

Description
A helper object for creating mods. Drop the little pink cube onto another object and check your logs. It will create a fully formatted table of positions and rotations that your can drop into your code. The table will be per object your drop it on. The first index in the table is the first position your dropped a cube, and so forth. Feel free to clone the cube to make positioning it faster!


Example result:

Rare_Technologies_positions = { [1] = { ['position'] = { ['x'] = 0.352439343929291, ['y'] = 0.350000202655792, ['z'] = -0.660372853279114}, ['rotation'] = { ['x'] = -2.42426779095695E-07, ['y'] = 180.000335693359, ['z'] = 7.56362908305164E-07}}, [2] = { ['position'] = { ['x'] = -0.00931848865002394, ['y'] = 0.350000202655792, ['z'] = -0.660481989383698}, ['rotation'] = { ['x'] = -4.50705414323238E-07, ['y'] = 180.000335693359, ['z'] = -8.71230156462843E-07}}, [3] = { ['position'] = { ['x'] = -0.361461877822876, ['y'] = 0.350000202655792, ['z'] = -0.662103950977325}, ['rotation'] = { ['x'] = -4.90742138481437E-07, ['y'] = 180.000335693359, ['z'] = -4.27801097657721E-07}}, }
2 Comments
Unreal Ed 17 Jun, 2021 @ 10:12am 
What could also be cool is a tool with 2 cubes that tells you the local DISTANCE between the 2 of them. Should probably be its own mod, and be linked in this mod's description
Unreal Ed 17 Jun, 2021 @ 9:57am 
Awesome tool! I wish I'd had this soooo many times in the past!

Quick suggestions: can you add options to make the cube log in the System tab of the chat or the game chat instead? Also, an option to turn off logging rotation would be nice. These options could be 2 context menu buttons that cycle between "Log in Notes/Log in System/Log in Game Chat" and "Log Position+Rotation/Log Position only/Log Rotation only".

And then adding a "Clear" context menu button to empty the log could be great too.