Velocity and acceleration with velocity degradation

Click For Summary
SUMMARY

This discussion focuses on the implementation of semi-Newtonian motion in space-based first-person games, specifically addressing velocity degradation. The equations presented include Normal motion (V = A * T) and Semi motion (V = (A * T) - ((A * T) * N)), where N is defined as V * (1 - ((1 - X) ^ T)). The example provided uses values A = 5, T = 3.5, and X = 0.5, resulting in a calculated velocity of approximately 1.5468. The user seeks confirmation of their calculations and aims to utilize Algebrator for resolving polynomial equations related to motion dynamics.

PREREQUISITES
  • Understanding of Newtonian physics principles
  • Familiarity with algebraic equations and polynomial functions
  • Basic knowledge of game physics in programming
  • Experience with mathematical software tools like Algebrator
NEXT STEPS
  • Research the implementation of semi-Newtonian motion in game engines
  • Explore advanced polynomial solving techniques using Algebrator
  • Study the effects of velocity degradation on gameplay mechanics
  • Learn about numerical methods for approximating solutions in physics simulations
USEFUL FOR

Game developers, physics programmers, and anyone interested in enhancing motion dynamics in space simulation games will benefit from this discussion.

Narf the Mouse
Messages
11
Reaction score
0
Maneuvering a spaceship using just Newtonian equations is a bit much for the average gamer. Therefore, most space-based first-person games use some form of "semi-Newtonian" motion. For example, reducing velocity by Velocity * 0.X per T = 1.

So, using my limited math to factor that:

Normal: V = A * T
Semi: V = (A * T) - ((A * T) * N), where N = V * (1 - ((1 - X) ^ T))
Semi, full: V = (A * T) - ((A * T) * (1 - ((1 - X) ^ T))

With values: A = 5, T = 3.5, X = 0.5

V = (5 * 3.5) - ((5 * 3.5) * (1 - ((1 - 0.5) ^ 3.5))

V = (17.5) - ((17.5) * (1 - ((0.5) ^ 3.5))

V = 17.5 - (17.5 * (1 - 0.0883~))

V = 17.5 - (17.5 * 0.9116~)

V = 17.5 - (15.9532~)

V = 1.5468~


Is this correct, so far? Thanks.
 
Physics news on Phys.org
Can I get help, please? This isn't homework, unless you count self-set homework. All I need is confirmation that I'm resolving this correctly. I rather think I did, but a second opinion on this would be good.The eventual goal is to use Algebrator to resolve to the "chase" polynomial equation, where one semi-Newtonian object "chases" another. And yeah, it'll probably be a quintic or hexic, but I've got a brute-force approximation solver that needs testing.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 49 ·
2
Replies
49
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K