My Math Forum  

Go Back   My Math Forum > Math Forums > Math

Math General Math Forum - For general math related discussion and news


Reply
 
LinkBack Thread Tools Display Modes
May 16th, 2014, 10:42 AM   #11
Newbie
 
Joined: May 2014
From: Portugal

Posts: 5
Thanks: 0

I forgot to mention:
I've developed another mobile game, it's available on Windows Phone.
It involved some math, because all the collision and physics were developed by me. We used no api or engine for that job.

There are 2 version:
Snails Free | Windows Phone Apps+Games Store (United States)

Snails | Windows Phone Apps+Games Store (United States)
jrlima is offline  
 
May 16th, 2014, 02:02 PM   #12
Senior Member
 
tahirimanov's Avatar
 
Joined: Nov 2013
From: Baku

Posts: 502
Thanks: 56

Math Focus: Geometry
Quote:
Originally Posted by jrlima View Post
I forgot to mention:
I've developed another mobile game, it's available on Windows Phone.
It involved some math, because all the collision and physics were developed by me. We used no api or engine for that job.

There are 2 version:
Snails Free | Windows Phone Apps+Games Store (United States)

Snails | Windows Phone Apps+Games Store (United States)
I use Android.
tahirimanov is offline  
June 30th, 2014, 06:58 AM   #13
Senior Member
 
Joined: Apr 2014
From: Glasgow

Posts: 2,150
Thanks: 730

Math Focus: Physics, mathematical modelling, numerical and computational solutions
Just a bit of extra info:

Braking distance for a car goes with the square of the velocity because you are converting kinetic energy into work done on the tyres:

$\displaystyle \frac{1}{2}mv^2 = Fd$
Therefore,
$\displaystyle d = \frac{mv^2}{2F}$

where
$\displaystyle m$ is the mass of the car+cargo,
$\displaystyle v$ is the velocity of car when the brakes are turned on,
$\displaystyle F$ is the force applied by the brakes (assumed constant) and
$\displaystyle d$ is the distance travelled.

This means you can tweak the braking distance based on parameters for the car you have. You could, for example, have a heavier car have a larger braking distance unless the player upgrades the brakes.

In addition, the total distance travelled by the car to avoid a hazard is actually the braking distance + the reaction distance:

$\displaystyle d_{total} = d_b + d_r$

where the reaction distance, $\displaystyle d_r$, is linear with velocity (typically $\displaystyle d_r=\alpha v$, where $\displaystyle \alpha$ is a small positive constant) and is affected by visibility, tiredness and drug-usage. You could even model drink-driving using this kind of formula (although you would need to add extra code for swerving)

Last edited by Benit13; June 30th, 2014 at 07:02 AM.
Benit13 is offline  
Reply

  My Math Forum > Math Forums > Math

Tags
braking, breaking, distance



Search tags for this page
Click on a term to search for related topics.
Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Breaking Math JustUseLinux Number Theory 39 October 11th, 2010 02:58 PM
Need help breaking down an equation lobo180 Algebra 1 September 9th, 2009 07:44 PM
Need some help here: Question on breaking of glass... deadmandx Physics 3 December 4th, 2008 02:36 PM
World Breaking Transparent Math James New Users 6 May 29th, 2008 06:23 PM





Copyright © 2019 My Math Forum. All rights reserved.