Game engine mouse script problem, please help.


(ineedanewbi) #1

hi, i found this mouse script a while ago, but i notice there was a problem

u can look 360 verticaly

here is the file
http://www.geocities.com/ineedanewbike/Mousescript.zip
originaly called
Quakemousetest.blend

does anyone know how to fix this script so thats it can rotate an object as far as straight up or down and NOT upsidedown backwards

im making an 1st person shooter game and i can shoot behind me, i’d like this problem fixed if possible.
http://www.geocities.com/ineedanewbike/Halloween.html

thanks


(wiensta) #2

i actually think at one stage that script stopped that happening but I could be wrong.

well, my only suggestion would be to maybe stick a circle (disk) mesh above the character, then have an invisible mesh poking out of the characters eyes and when he looks up, it’d collide with the disc. Not very practical I agree, but just tryin to help.