step3d_model(3)
β¨ NAME β¨
step3d_model β move forwards and sidewards, bestie π
This page is step3d_model(3) from the Arcan Lua API, and it's giving "one function, two movement moods, zero cap" energy π«Ά
πΈ SYNOPSIS πΈ
float:x, float:y, float:z
step3d_model( vid:model float:fwd, float:side )
step3d_model( vid:model float:fwd, float:side, uint:time=0 )
step3d_model( vid:model float:fwd, float:side, uint:time,
bool:update=true )
step3d_model( vid:model float:fwd, float:side, uint:time, bool:update,
bool:mask_x=false )
step3d_model( vid:model float:fwd, float:side, uint:time, bool:update,
bool:mask_x, bool:mask_y=false )
step3d_model( vid:model float:fwd, float:side, uint:time, bool:update,
bool:mask_x, bool:mask_y, bool:mask_z=false )
step3d_model( vid:model float:fwd, float:side, uint:time, bool:update,
bool:mask_x, bool:mask_y, bool:mask_z, uint:interp=INTERP_LINEAR )
π₯ DESCRIPTION π₯
Okay so step3d_model is literally the movement combo platter: it combines the movement behavior of forward3d_model and strafe3d_model into one call. The whole point? Better scheduling of motion sequences, and being able to evaluate what a transformation would do without applying it when the optional update argument is set to false. That's the main-character detail, no cap π
the little cast π
vid:modelβ the model you're moving.float:fwdβ the forwards amount.float:sideβ the sidewards amount.uint:time=0β optional time value, defaulting to0.bool:update=trueβ optional, defaulting totrue; when it'sfalse, the transformation's consequences get evaluated without being applied.bool:mask_x=falseβ optional, defaulting tofalse.bool:mask_y=falseβ optional, defaulting tofalse.bool:mask_z=falseβ optional, defaulting tofalse.uint:interp=INTERP_LINEARβ optional interpolation value, defaulting toINTERP_LINEAR.
And it returns float:x, float:y, float:z, so you get the coordinates back, bestie π
Theupdatedefault istrue; flip it tofalseonly when you want the evaluate-without-applying behavior. That's the vibe check, periodt.
π SEE ALSO π
The original SEE ALSO block has no extra page refs listed β it's empty, bestie, not a single extra link in sight π The 3d source/version and October 2026 date are hanging out in the sign-off below instead.
xoxo, your Unix bestie π β source/version 3d, date October 2026. That's the whole footer, mwah π
π¦ 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