Jump to content

  • Log In with Google      Sign In   
  • Create Account

rockpool

Member Since 17 Apr 2013
Offline Last Active Apr 18 2013 07:17 AM

Posts I've Made

In Topic: Physics for Game Developers book example help

17 April 2013 - 03:10 PM

What i'm after is extracting the relevant information to extend the example and implementing a bounce.

 

 

http://www.gamedev.net/topic/204055-calculating-reflection-vector-i-have-no-math-book-here/

Cheers, that's a lot simpler than reading this (at the bottom):

http://www.gamasutra.com/view/feature/131424/pool_hall_lessons_fast_accurate_.php?page=3


In Topic: Physics for Game Developers book example help

17 April 2013 - 12:46 PM

1. If I subtract the last position from the current position position, would that vector be its current velocity?

 

2. If I used some trig to calculate the angle between the last and current position, would that satisfy the Alpha and Gamma?

 

 

 

1.1 Negating deformation, if the ball hits a surface with a CoR of say 0.9 and the ball has a CoR of say 0.92, will I use an average of the two, e.g. 0.91 * the velocity from 1?

 

2.1 Negating spin, if I have the approach angle relative to the normal of the surface, will the exiting angle be a reflection of this angle of incidence? (or was that just a drunken night playing pool and seeing double?)... and how to do using two vectors?


In Topic: Physics for Game Developers book example help

17 April 2013 - 11:40 AM

So what is Gamma, Alpha and the velocity at any given time? I believe you've only rewritten the first part...

 

TBH, i've rewritten it in Lua so no vector3's...


PARTNERS