| · Portal |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| brett14 |
Posted: Nov 2 2009, 07:58 PM
|
||
|
Major Contributor ![]() Group: Global Moderator Posts: 517 Member No.: 3 Joined: Mar 18 2009 |
Returns the zdirection between two 3D points (In degrees). This is now tested, credit is optional.
This post has been edited by brett14 on Jul 22 2010, 04:35 PM |
||
| Goldy |
Posted: Nov 3 2009, 08:37 AM
|
![]() Group: Basic Moderator Posts: 325 Member No.: 30 Joined: Jul 7 2009 |
that didnt work. I think i missed the z control for the first math part. i'll add that when i get home
|
| brett14 |
Posted: Nov 4 2009, 06:00 PM
|
|
Major Contributor ![]() Group: Global Moderator Posts: 517 Member No.: 3 Joined: Mar 18 2009 |
I'll make another, but check it this time. I'll upload it here later
|
| Goldy |
Posted: Nov 29 2009, 04:11 AM
|
||
![]() Group: Basic Moderator Posts: 325 Member No.: 30 Joined: Jul 7 2009 |
3d point direction script found, thanx to icuurd for his explanation on the gmc forums. ill post link when im on computer. point_direction_3d(xfrom,yfrom,zfrom,xto,yto,zto)
|
||
| Goldy |
|
![]() Group: Basic Moderator Posts: 325 Member No.: 30 Joined: Jul 7 2009 |
thanx brett to move it here.
This post has been edited by Goldy on Nov 30 2009, 08:06 PM |
| Goldy |
Posted: Mar 27 2010, 01:11 AM
|
![]() Group: Basic Moderator Posts: 325 Member No.: 30 Joined: Jul 7 2009 |
[Edited by: Brett14]
fixed in top post. This post has been edited by brett14 on Jun 19 2010, 03:52 PM |
| brett14 |
Posted: Mar 28 2010, 01:38 AM
|
|
Major Contributor ![]() Group: Global Moderator Posts: 517 Member No.: 3 Joined: Mar 18 2009 |
How are you using it, like show me the code your using, I used it in my game and it worked fine
|
| Goldy |
Posted: May 26 2010, 08:17 PM
|
![]() Group: Basic Moderator Posts: 325 Member No.: 30 Joined: Jul 7 2009 |
Late Reply
I used it as d3d_point_direction(x,y,z,target.x,target.y,target.z). I typed the codes from this phone since i had no connection to the com. I may have a typo in it. I'll type it again, and will look over it. |
| brett14 |
Posted: Jun 19 2010, 03:51 PM
|
|
Major Contributor ![]() Group: Global Moderator Posts: 517 Member No.: 3 Joined: Mar 18 2009 |
fixed completely, apparently I was using it wrong before.
This post has been edited by brett14 on Jun 19 2010, 03:52 PM |
| brett14 |
Posted: Jul 22 2010, 04:36 PM
|
|
Major Contributor ![]() Group: Global Moderator Posts: 517 Member No.: 3 Joined: Mar 18 2009 |
Made more efficient
|
![]() |
![]() ![]() ![]() |