forward3d_model(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸ’… 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