Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411472 Posts in 69369 Topics- by 58423 Members - Latest Member: antkind

April 23, 2024, 11:59:04 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Quadratics or otherwise for jumping physics?
Pages: 1 [2]
Print
Author Topic: Quadratics or otherwise for jumping physics?  (Read 1984 times)
Muz
Level 10
*****


View Profile
« Reply #20 on: October 16, 2012, 05:53:35 PM »

Why/how would you use quadratics? I'd probably just use physics. Or what Fallsburg said. Unless there's some quadratic platform method I'm not familiar with.

You don't start off designing something with saying "I'll use this difficult math thing I learned but don't know how to use". You start off plotting exactly how you want the movement and finding the right formula to fit that plot.
Logged
Fallsburg
Level 10
*****


Fear the CircleCat


View Profile
« Reply #21 on: October 16, 2012, 06:03:03 PM »

By quadratic, I'm he means a*t^2 + v*t.
Logged
BorisTheBrave
Level 10
*****


View Profile WWW
« Reply #22 on: October 17, 2012, 11:54:01 AM »

No one actually uses the quadratic formula. "Using" quadratics is usually taken to mean subtracting a constant amount from velocity each frame - that will very closely approximate the quadratic formula, which is how things fall in real life. It just means the starting point, from which people add all sorts of non-physical variations that feel better or change the gameplay.
Logged
Muz
Level 10
*****


View Profile
« Reply #23 on: October 17, 2012, 06:51:55 PM »

By quadratic, I'm he means a*t^2 + v*t.

But you don't actually store t as a variable anywhere? It's more like

Every t,
 Vnow += A.
Logged
Impmaster
Level 10
*****


Scary, isn't it?


View Profile WWW
« Reply #24 on: October 18, 2012, 03:23:12 AM »

Hey guys, I finished my jumping (except for a few bugs which I'll fix later). I didn't use quadratics, so I don't really need more people telling me that I shouldn't use it. k? Thanks for all the help, and let's kill this thread. Smiley
Logged

Do I need a signature? Wait, now that I have a Twitter I do: https://twitter.com/theimpmaster
Pages: 1 [2]
Print
Jump to:  

Theme orange-lt created by panic