forward3d_model(3)
π
forward3d_model β Arcan Lua API, section 3
okay bestie, welcome to forward3d_model(3) β¨ this one lives in the Arcan Lua API and it's basically the "scoot forward, bestie" button for your 3D models π«Ά
β¨ NAME β¨
forward3d_model β push the model along its view vector π« like literally, shove it in the direction it's already looking
π SYNOPSIS π
nil
forward3d_model( vid:model, float:factor )
forward3d_model( vid:model, float:factor, bool:mask_x=false )
forward3d_model( vid:model, float:factor, bool:mask_x, bool:mask_y=false
)
forward3d_model( vid:model, float:factor, bool:mask_x, bool:mask_y,
bool:mask_z+false )
forward3d_model( vid:model, float:factor, bool:mask_x, bool:mask_y,
bool:mask_z, uint:interp=INTERP_LINEAR )
yeah there are five whole versions of this call, it's giving "choose your fighter" π and yes, the fourth one really does have a +false in the signature β copy it exactly as written, no editing, we don't fix it, we just vibe with it π
πΈ DESCRIPTION πΈ
so what it actually does: it moves the object further along in the direction it is currently facing π the way it works is it takes the orientation view vector, multiplies that by the factor, and adds the result to the current position. math girl summer β¨
and the masks? if any of the optional mask arguments are given, the specified axis will not be altered π so you can lock down x, y, z and let the model slay forward on the axes you left alone.
ngl, "any of the optional mask arguments" is doing a lot of heavy lifting there β just remember: a masked axis stays put, periodt π
π₯ SEE ALSO π₯
the whole friend group fr fr π«Ά go read them too
and that's the whole page, bestie! π¦ this one is from the 3d manual, dated October 2026 β mwah, take care, and go push some models forward ππ
π¦ 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