In my 3d fps game i have a object which stays at the obj player and keeps the same angle.
It is called obj_useline and detects if there is a object you can pick up on it.
The problem is that it doesn't work with Z directions, l can waaaaaaaaay above the object and still pick it up?
Any ideas?
3d mouse pointing.
Started by Rassym, Mar 20 2012 06:49 PM
2 replies to this topic
#1
Posted 20 March 2012 - 06:49 PM
#2
Posted 20 March 2012 - 06:57 PM
You'll have to track the z heights of objects and compare them to this "useline" object's z. Personally, there are much better ways than using an object to compare, but meh.
#3
Posted 20 March 2012 - 07:00 PM
You'll have to track the z heights of objects and compare them to this "useline" object's z. Personally, there are much better ways than using an object to compare, but meh.
Could you give me and example?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











