Jump to content


- - - - -

Gravity center physics


5 replies to this topic

#1 aybe

    New Member

  • Members
  • Pip
  • 3 posts

Posted 20 November 2009 - 09:02 PM

After some extensive 2D work, I am now starting using 3D.

I want to create my mini physics engine so I can understand maths that are beneath, but didn't found much infos about it.

Modeling of simple physics :
- Make a ball roll on a slope surface,
- Shoot a bunch of cubes and they go everywhere,
- well, physics !

What are the formulas involved when doing this ?

Thank you !

#2 geon

    Senior Member

  • Members
  • PipPipPipPip
  • 939 posts

Posted 22 November 2009 - 03:41 PM

http://lmgtfy.com/?q...ics+programming

First of all, you need collision detection, so you know when the ball is touching the slope. To create the simulation, you also need an integrator to move things around and collision response to make them bounce.

#3 h4tt3n

    New Member

  • Members
  • Pip
  • 3 posts

Posted 23 November 2009 - 07:17 AM

You may already know these places, but I'd definitely recommend visiting the gamedev and bullet forums:

http://www.gamedev.n...mmunity/forums/
http://bulletphysics.../Bullet/phpBB3/

Then there's the hardwire page with lots of stuff:

http://physics.hardwire.cz/

cheers,
Mike

#4 aybe

    New Member

  • Members
  • Pip
  • 3 posts

Posted 23 November 2009 - 04:22 PM

Great, thank you :-)

#5 monjardin

    Senior Member

  • Members
  • PipPipPipPip
  • 1033 posts

Posted 30 November 2009 - 03:30 PM

See Math and Physics in the DevMaster Wiki, and feel free to add anything you find interesting to it as well. The Game Physics section of Gaffer on Games also has a few great articles for beginners.

@geon I'm going to get some good use out of that website. Hilarious!
monjardin's JwN Meter (1,2,3,4,5,6):
|----|----|----|----|----|----|----|----|----|----|
*

#6 aybe

    New Member

  • Members
  • Pip
  • 3 posts

Posted 07 December 2009 - 09:03 PM

Thank you,





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users