index.js
function (nodeId) {
      var body = getInitializedBody(nodeId);
      body.setPosition.apply(body, Array.prototype.slice.call(arguments, 1));
      physicsSimulator.invalidateBBox();
    }
function (nodeId) {
      var body = getInitializedBody(nodeId);
      body.setPosition.apply(body, Array.prototype.slice.call(arguments, 1));
      physicsSimulator.invalidateBBox();
    }
function ( nodeId ) { var body = getInitializedBody ( nodeId ) ; body . setPosition . apply ( body , Array . prototype . slice . call ( arguments , 1 ) ) ; physicsSimulator . invalidateBBox ( ) ; }
Sets position of a node to a given coordinates
@param {string} nodeId node identifier
@param {number} x position of a node
@param {number} y position of a node
@param {number=} z position of node (only if applicable to body)
Sets position of a node to a given coordinates