Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Get the exact (x/y/z) location/rotation of a player?
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Get the exact (x/y/z) location/rotation of a player? (Read 3322 times)
Mr. Wallet
August 22, 2007, 06:08:30 AM
In other words only math majors can even remotely understand it.
Ad Bot
Advertisement
Trader
August 22, 2007, 06:02:21 PM
Well you don't really need to understand it. Just use the reverse of eulerToMatrix...
matrixToEuler.
Space Guy
August 23, 2007, 03:01:32 AM
Does that function exist? In the constants.cs file in v0002 only eulerToMatrix was defined... Unless it's built in?
Trader
August 23, 2007, 11:04:40 AM
Yeah, I'll post it if I can find it.
It may also be listed as eulerToQuat and quatToEuler. I'm at work now, so I'll have to check later.
«
Last Edit: August 23, 2007, 11:45:58 AM by Trader
»
Ladios
August 24, 2007, 12:48:05 AM
i was pretty sure i saw it as eulertomatrix
Dr-Block
August 24, 2007, 02:31:32 AM
Code:
[Select]
%trans = %id.getTransform();
%x = getWord(%trans,0);
%y = getWord(%trans,1);
%z = getWord(%trans,2);
Print
Pages:
1
[
2
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Get the exact (x/y/z) location/rotation of a player?