How can I constrain the angle of motion in the Bullet behavior?
I want the object to move in 16 directions instead of 360.
Have your angle change in 22.5° increment only, and set your initial angle to multiples or 22.5°.
Develop games in your browser. Powerful, performant & highly capable.
Depends on how you wanna modify the angle. You can check for multiples or 22.5° with the expression angle%22.5 = 0 (though I am not sure if some problems with float calculations will come up)
I'll try it, thanks.