Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
User reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo Wii U
Post your WiiU cheat codes here!
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="skoolzout1" data-source="post: 7875006" data-attributes="member: 417962"><p>For clarification, every difference/subtraction you make should always be Their Value - Your value in terms of calculating the angles and distances needed.</p><p></p><p>Secondly, no. Your idea was very close but I dont think its correct if i understand it correctly.</p><p></p><p>You will need to essentially calculate the Hypotenuse of 2 seperate Right Triangles since there are 3-Dimensions.</p><p></p><p>The first and easiest thing you should get, is the Difference between Your target and Your height. (Their Y coord - Your Y coord). Remember that Ycoordinates are usually relative to the Feet of objects. For BoTW I had to add a height offset to my Y coord to account for Link's Bow being above Link's actual coordinates.</p><p></p><p>So you have the Y for your main Right triangle,</p><p></p><p>Next you need to find X.. To do this is essentially what you said, (Their X - Your X)^2 + (Their Z - Your Z)^2 and then square root that answer.</p><p></p><p>Now you have the X value of your main right Triangle.</p><p></p><p>Now, to calculate the angle using Arccos, you need the Hypotenuse of this final right triangle youve found the sides of.</p><p></p><p>So take the Square Root of the X^2 + Y^2.</p><p></p><p>Now you have What you need to do ArcCos. </p><p></p><p>Adjacent / Hypotenuse and then throw that result into the arccos function and then at the end, store it somewhere.</p></blockquote><p></p>
[QUOTE="skoolzout1, post: 7875006, member: 417962"] For clarification, every difference/subtraction you make should always be Their Value - Your value in terms of calculating the angles and distances needed. Secondly, no. Your idea was very close but I dont think its correct if i understand it correctly. You will need to essentially calculate the Hypotenuse of 2 seperate Right Triangles since there are 3-Dimensions. The first and easiest thing you should get, is the Difference between Your target and Your height. (Their Y coord - Your Y coord). Remember that Ycoordinates are usually relative to the Feet of objects. For BoTW I had to add a height offset to my Y coord to account for Link's Bow being above Link's actual coordinates. So you have the Y for your main Right triangle, Next you need to find X.. To do this is essentially what you said, (Their X - Your X)^2 + (Their Z - Your Z)^2 and then square root that answer. Now you have the X value of your main right Triangle. Now, to calculate the angle using Arccos, you need the Hypotenuse of this final right triangle youve found the sides of. So take the Square Root of the X^2 + Y^2. Now you have What you need to do ArcCos. Adjacent / Hypotenuse and then throw that result into the arccos function and then at the end, store it somewhere. [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo Wii U
Post your WiiU cheat codes here!
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
LNLenost
Loading…
BigOnYa
Loading…
K3Nv2
Loading…
@
Sicklyboy
:
It's 11:30 PM here, I just took the trash out and my god is it awful outside
Today at 4:30 AM
@
Sicklyboy
:
This heatwave can eat my ass
+3
Today at 4:30 AM
@
MysticStarlight
:
omg same, it's VERY hot here, too
Today at 4:33 AM
@
BakerMan
:
fuck this heatwave, i don't usually sleep with a fan, but i believe the fan is getting put on the bed rather than beside it
Today at 5:33 AM
@
BakerMan
:
IT'S 12:30 IN THE FUCKING MORNING AND IT'S STILL 78°, WHAT THE FUCK?
+1
Today at 5:34 AM
@
NinStar
:
78º seems abnormal for any part of the day
Today at 5:42 AM
@
BigOnYa
:
Yea it was 96 F for the high, 78 F for the low today, in Ohio, bout same for bakerman in Michigan
Today at 5:44 AM
@
HiradeGirl
:
F?
Today at 5:53 AM
@
HiradeGirl
:
C?
Today at 5:53 AM
@
BigOnYa
:
F- fahrenheit C-Celsius. We in USA use F as our temp ratings
Today at 5:55 AM
@
Sicklyboy
:
F = Freedom units
+2
Today at 6:47 AM
@
HiradeGirl
:
So... C = Cum units?
+1
Today at 6:56 AM
@
K3Nv2
:
Clip units
Today at 7:15 AM
@
SylverReZ
:
Hi
Today at 7:21 AM
@
SylverReZ
:
@HiradeGirl
, That's how they get bigger loans at the bank.
+1
Today at 7:21 AM
@
SylverReZ
:
+1
Today at 7:23 AM
@
HiradeGirl
:
Welp.
Today at 7:26 AM
@
K3Nv2
:
Wasn't me
54 minutes ago
@
K3Nv2
:
Got around to playing A way out is pretty fun coop game to kill time
+1
45 minutes ago
@
BigOnYa
:
Me and a buddy used to play that, is pretty fun. Graphics were pretty good also at that time, I think what 5-6 years ago. --Edit yea was 2018
37 minutes ago
@
BigOnYa
:
Surprised they never made a second one.
30 minutes ago
@
K3Nv2
:
It takes two was their newest different theme
29 minutes ago
@
BigOnYa
:
I didn't care for that one so much, but didn't play it much either.
28 minutes ago
@
BigOnYa
:
I just played little of "Still Wakes The Deep" , just came to gamepass today, its alright, kinda creepy. I'm not usually a horror game fan, but it looks really good graphic wise, esp w 4k. I admit it made me jump a few times.
24 minutes ago
@
LNLenost
:
Anyone here using the 3DS?
A moment ago
Submit
@
LNLenost
:
Anyone here using the 3DS?
A moment ago
Chat
3