There are some undocumented function which iirc deal with environment object.
local x,y,z = get_obj_pos (0)
echo ("x: " .. x .. ", y: " .. y .. ", z: " .. z)
I should be able to do this on my own now, no more help needed.local a = get_obj_rot (0)
echo("a: " .. a)
Looking at the get_body_info function, I assumed it could be this:local a = get_obj_rot (0)
echo("a.r0: " .. a.r0 .. ", a.r1: " .. a.r1 .. ", a.r2: " .. a.r2) -- and so on with r3 etc..
But that doesn't work either. Well, the get_obj_pos function is already very helpful ...
for k,v in pairs(_G) do
if type(v) == "function" then
echo(k)
end
end
Keep in mind that some of those don't do anything because they are deprecated.EDIT: Sorry, I was jumping to conclusions. The get_obj_rot function doesn't work:
Looking at the get_body_info function, I assumed it could be this:local a = get_obj_rot (0) echo("a: " .. a)
But that doesn't work either. Well, the get_obj_pos function is already very helpful ...local a = get_obj_rot (0) echo("a.r0: " .. a.r0 .. ", a.r1: " .. a.r1 .. ", a.r2: " .. a.r2) -- and so on with r3 etc..
I'm really not sure how possibly hard this could be since I don't know much about these scripts, but I wanted to suggest a script that somehow hides the tori yet the tori's reflection on the ground remain
this would allow a lot of new possibilities for editing and such
I'm really not sure how possibly hard this could be since I don't know much about these scripts, but I wanted to suggest a script that somehow hides the tori yet the tori's reflection on the ground remain
this would allow a lot of new possibilities for editing and such