Welcome to OoT 2D. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Walking diagonally is faster than movement on single axis
Topic Started: Sep 30 2014, 11:58 PM (600 Views)
azimech49
No Avatar

thats it!!
Offline Profile Quote Post Goto Top
 
Lin
No Avatar

Uhm Pythagorean theorem? But seriously, in games that support diagonal movement, you move along both axis with the same speed as movement on a single axis, so it should naturally be twice as fast.
Offline Profile Quote Post Goto Top
 
mrjnumber1
No Avatar

yeah, the individual horizontal and vertical components of velocity need mulitplied by tan(45) cos(45) or sin(45) or sqrt(2)/2

edit: at least, in order to comply with real world calculations. not sure what lttp's engine did.
Edited by mrjnumber1, Oct 1 2014, 03:26 AM.
Offline Profile Quote Post Goto Top
 
Lin
No Avatar

mrjnumber1
Oct 1 2014, 12:52 AM
yeah, the individual horizontal and vertical components of velocity need mulitplied by tan(45)

edit: at least, in order to comply with real world calculations. not sure what lttp's engine did.
tan(45) is 1 haha. I think what you mean is sin(45) or cos(45), aka sqrt(2)/2.
Offline Profile Quote Post Goto Top
 
mrjnumber1
No Avatar

DERP yeah, i just sad tan because it's movement at an angle, so i instantly think "slope" and go to tangent.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Glitches · Next Topic »
Add Reply