strafe3d_model(3)

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

πŸ’… strafe3d_model β€” the Arcan Lua API, bestie edition

okay so this is strafe3d_model from the strafe3d_model(3) corner of the Arcan Lua API and it's literally the side-step button for your 3D models πŸ¦‹


✨ NAME ✨

strafe3d_model β€” move the specified model sideways, relative to the viewing angle it's currently facing πŸ”₯


πŸŽ€ SYNOPSIS πŸŽ€

nil
strafe3d_model( vid:model, float:amount )
strafe3d_model( .B )
strafe3d_model( vid:model, float:amount, uint:time=0 )
strafe3d_model( .B )
strafe3d_model( vid:model, float:amount, uint:time, bool:mask_x=false )
strafe3d_model( .B )
strafe3d_model( vid:model, float:amount, uint:time, bool:mask_x,
bool:mask_y=false )
strafe3d_model( .B )
strafe3d_model( vid:model, float:amount, uint:time, bool:mask_x,
bool:mask_y, bool:mask_z=false )
strafe3d_model( .B )
strafe3d_model( vid:model, float:amount, uint:time, bool:mask_x,
bool:mask_y, bool:mask_z=false, uint:interp=INTERP_LINEAR )

like yes there are a lot of overloads, no cap, they all stack up in order β€” and yes the .B lines are just sitting there being iconic in the synopsis, we keep them exactly as they are πŸ’€


🌸 DESCRIPTION 🌸

so this function moves the model relative to its current orientation β€” not the world, not the camera, its own vibe check. 🫢

here's the tea on direction:

  • negative amount β†’ "the left", from the object's own perspective πŸ‘ˆ
  • positive amount β†’ "the right", from the object's own perspective πŸ‘‰

and the optional mask arguments? they block the specified axes from being updated, so if you wanna slide sideways but keep one axis pinned, that's your moment, bestie. 🎯


πŸ‘‘ SEE ALSO: πŸ‘‘

go read those too, they're all part of the same friend group fr fr ✨


and that's the whole page!! brought to you by the 3d manual section, version dated October 2026 β€” mwah, love u, go strafe responsibly πŸ’œπŸŽ€

πŸ“¦ where this page comes from