step3d_model(3)

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

✨ 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 to 0.
  • bool:update=true β€” optional, defaulting to true; when it's false, the transformation's consequences get evaluated without being applied.
  • bool:mask_x=false β€” optional, defaulting to false.
  • bool:mask_y=false β€” optional, defaulting to false.
  • bool:mask_z=false β€” optional, defaulting to false.
  • uint:interp=INTERP_LINEAR β€” optional interpolation value, defaulting to INTERP_LINEAR.

And it returns float:x, float:y, float:z, so you get the coordinates back, bestie πŸŽ€

The update default is true; flip it to false only 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