To Reproduce
Steps to reproduce the behavior:
after this call the object stays still even though it should start moving: spawnObjectJSON({json = myJSON, callback_function = function(obj) obj.setVelocity({0,5,6}) end)
Tabletop Simulator Info (please complete the following information):
Version 12.4.3
Known workarounds
If you wait a frame, it moves as expected. spawnObjectJSON({json = myJSON, callback_function = function(obj) Wait.frames(function() obj.setVelocity({0,5,6}) end , 1)
To Reproduce Steps to reproduce the behavior: after this call the object stays still even though it should start moving:
spawnObjectJSON({json = myJSON, callback_function = function(obj) obj.setVelocity({0,5,6}) end)
Tabletop Simulator Info (please complete the following information):
Known workarounds
If you wait a frame, it moves as expected.
spawnObjectJSON({json = myJSON, callback_function = function(obj) Wait.frames(function() obj.setVelocity({0,5,6}) end , 1)