Menu
Home
About
About GameGuru MAX
Demo Games
Help
Features
Education
News
Contact
Products
GameGuru MAX
GameGuru MAX DLCs
GameGuru Classic
Forums
Login
Forum Home
Search
Scripts
/ GetPlayerDistance work in 3 dimensions?
Author
Message
pauly139
9
Years of Service
User Offline
Joined:
6th Aug 2015
Location:
Profile
Posted:
7th Aug 2015 13:03
Link
Hi
I'm using GetPlayerDisdtance to determine proximity to objects, which works fine when they are at the same level, but does not seem to work when the object is significantly higher or lower than the player. Anyone else found this?
Rgds
Paul
PM
pauly139
9
Years of Service
User Offline
Joined:
6th Aug 2015
Location:
Profile
Posted:
7th Aug 2015 13:30
Link
ok kind of got it to work. I'll try knocking up a more precise version of GetPlayerDistance function which uses trigonometry to work out the distance more precisely based on vertical offsets.
PM
Back to top
Login to post a reply
Server time is:
2024-12-22 01:14:19
Your offset time is:
2024-12-22 01:14:19