move3d_model(3)
π move3d_model(3) β the Arcan Lua API one, yes bestie, that manual π
okay so real talk, this page lives in the Arcan Lua API section of the manual (that's the 3d corner of it, iykyk), and it's about the one little function that yeets your model to a whole new spot in world-space. let's get into it π«Ά
β¨ NAME β¨
move3d_model β sets brand-new world-space coordinates for the model you point at. that's it. that's the whole vibe. π
β¨ SYNOPSIS β¨
nil
move3d_model( vid:model, float:x, float:y, float:z )
move3d_model( vid:model, float:x, float:y, float:z, uint:time=0 )
move3d_model( vid:model, float:x, float:y, float:z, uint:time, uint:interp=INTERP_LINEAR )
three whole flavors, bestie. pick your fighter β¨ the nil up top is just chillin' there being the return situation.
πΈ DESCRIPTION πΈ
so the <hotpink>move3d</hotpink>, <hotpink>rotate3d</hotpink>, <hotpink>scale3d</hotpink> and the rest of that class of functions? they're basically their 2D siblings but with an extra z coordinate tacked on. like, the 2D version said "here" and the 3D version said "here, but make it depth" π
and here's the tea π β even though these functions are intended for 3D objects, you can absolutely apply them to 2D objects too. no cap, it works.
β οΈ but. BUT. there may be side-effects to picking and similar operations. not me warning you and then you doing it anyway π so like, lowkey be aware, k?
π¦ EXAMPLE π¦
here's the whole thing, copy it exactly, don't @ me:
function move3d_model0()
a = fill_surface(64, 64, 255, 0, 0);
move3d_model(a, 100, 100, -5, 100);
show_image(a);
end
look at her go π filled a surface, moved it in 3D, showed the image. main character energy fr fr.
π SEE ALSO π
the little friend group, go read these too:
and that's the page!! mwah π this one came from the 3d manual, dated October 2026 β that's the source/version and the date, all cute and accounted for at the very end like a lil sign-off. periodt. πβ¨
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms