1
General Jo Engine Help / jo_sin_mult/jo_cos_mult return smaller/bigger value
« on: November 06, 2016, 12:23:32 am »
Hello,
I've been adapting Danny's script to work with a dungeon crawler movement (90 degree turns and fixed step movement) to learn how to manage first person movement. However, jo_sin_mult/jo_cos_mult sometimes return a smaller/bigger value (127 or 129 instead of 128) whenever I try to move on the X or Z axis.
Sorry if that's a stupid question, but I'm learning how the engine works and unfortunately the lack of tutorials on the 3D part makes it somewhat confusing at times.
I've attached the test code
I've been adapting Danny's script to work with a dungeon crawler movement (90 degree turns and fixed step movement) to learn how to manage first person movement. However, jo_sin_mult/jo_cos_mult sometimes return a smaller/bigger value (127 or 129 instead of 128) whenever I try to move on the X or Z axis.
Sorry if that's a stupid question, but I'm learning how the engine works and unfortunately the lack of tutorials on the 3D part makes it somewhat confusing at times.
I've attached the test code