I have been trying to help a mate get a teleport script working.
when the player enters a trigger box it should set the position of the player entity to x,y,z but does not want to play nice.
The position of x,y,z is taken from a entity in the scene (a tall cube) called "destination" tag "spawn1".
entity.setPosition( entity.getIDFromTag("Player"), x, y, z ); moves a cube but will not move the a player..
I have tried with the fpsSystem.setPosition(entity.getIDFromTag("Player"), x, y, z); hook but that just crashes skyline and in the api states that its for respawning after a KO.
scene and lua file.