Blockland Forums > General Discussion
What was that one command that lets you change your character's position?
Port:
--- Quote from: Xalos on September 09, 2013, 05:41:31 AM ---It does work, actually. It's a stupid way to do it and you SHOULDN'T do it that way, but it does work.
--- End quote ---
Wait, seriously? What the hell.
It doesn't make much sense to have position, rotation, getPosition, setPosition, getTransform and setTransform anyway.
Why not just have a single transform attribute which applies it when set?
Swollow:
--- Quote from: Port on September 09, 2013, 07:53:02 AM ---Wait, seriously? What the hell.
It doesn't make much sense to have position, rotation, getPosition, setPosition, getTransform and setTransform anyway.
Why not just have a single transform attribute which applies it when set?
--- End quote ---
cuz torque
BluetoothBoy:
It would make more sense to save getPosition as world coords, and getTransform as local coords (relative the the object's parent). Then it'd be useful to have both.
boodals 2:
--- Quote from: Port on September 08, 2013, 01:50:59 PM ---It would just default to "0 0 0 1".
--- End quote ---
Actually, i just tried doing it in my server, it keeps your current rotation.
Port:
--- Quote from: boodals 2 on September 09, 2013, 03:24:11 PM ---Actually, i just tried doing it in my server, it keeps your current rotation.
--- End quote ---
Blame TGE for even caring about setting position.
setTransform defaults to "0 0 0 1".