I'm not sure why but when I read the mousexspeed and then do a movemouse to the center of the screen, I can't get a reading from mousexspeed that accurate in minib3d. Everything is fine until I do a yaw = yaw - mxspd. Then yaw = -400. I must be missing something.
For instance:
[code]
mxspd:Float = MouseXSpeed()
movemouse 400,300
yaw:float :- mxspd
rotateentity camera,0,yaw,0
[code]
The above code doesn't work and just sits at 400. Anyone wanna take a stab at this?
For instance:
[code]
mxspd:Float = MouseXSpeed()
movemouse 400,300
yaw:float :- mxspd
rotateentity camera,0,yaw,0
[code]
The above code doesn't work and just sits at 400. Anyone wanna take a stab at this?