Jump to content

  • Log In with Google      Sign In   
  • Create Account

I gave a lecture on constraint-based physics, and here are the slides.


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
4 replies to this topic

#1   Members   

971
Like
5Likes
Like

Posted 18 April 2014 - 12:51 AM

*
POPULAR

Hi, all:

This is my last semester at DigiPen Institute of Technology, so I decided to give a lecture to my fellow schoolmates on constraint-based physics to pass down a few things I know about implementing game physics.

Here are the slides I used:
http://allenchou.net/slides-constraint-based-physics/

Below are the main points I went over in this lecture:

  • The flow chart of a typical physics engine.
  • How to derive velocity constraints.
  • Contact constraints, including normal and tangential resolutions.
  • Solving multiple constraints simultaneously (block-solving).

You don't really need to implement a full-blown physics engine with narrow phase, broad phase, and other fancy stability features like contact caching and warm starting, just in order to get something cool. In the end, I presented a simple constraint, the mouse constraint, as an exercise homework.

I encourage anyone who hasn't done any physics-related stuff to try implementing mouse constraints with a simple semi-implicit Euler integrator; you will end up with something you can drag around, reacting and looking physically "correct".

If you are not familiar with motion dynamics, I also wrote two posts on its fundamentals and implementation examples, please do check them out:
http://allenchou.net/2013/12/game-physics-motion-dynamics-fundamentals/
http://allenchou.net/2013/12/game-physics-motion-dynamics-implementations/

Lastly, here's a full list of the posts I have written on game physics:
http://allenchou.net/game-physics-series/

As always, please tell me if you think I've got something wrong. Thanks smile.png


Edited by Allen Chou, 18 April 2014 - 01:07 AM.

Ming-Lun "Allen" Chou

Physics / Graphics / Procedural Animation
http://allenchou.net


#2   Members   

16739
Like
0Likes
Like

Posted 18 April 2014 - 09:31 AM

Allen's pretty legit, as are his lectures and slides. Definitely look over this material if you have an interest in the subject.

Game Developer, C++ Geek, Dragon Slayer - http://seanmiddleditch.com

C++ SG14 "Games & Low Latency" - Co-chair - public forums

Wargaming Seattle - Lead Server Engineer - We're hiring!


#3   Members   

5755
Like
0Likes
Like

Posted 18 April 2014 - 12:15 PM

Nice work Allen, I'm pretty sure you're not going to have a problem getting a job after graduation.



#4   Members   

971
Like
2Likes
Like

Posted 18 April 2014 - 01:27 PM

Nice work Allen, I'm pretty sure you're not going to have a problem getting a job after graduation.

 

Actually, I already did. I'm going to work at Naughty Dog laugh.png


Edited by Allen Chou, 18 April 2014 - 04:29 PM.

Ming-Lun "Allen" Chou

Physics / Graphics / Procedural Animation
http://allenchou.net


#5   Members   

2194
Like
0Likes
Like

Posted 23 April 2014 - 10:09 AM

Very nice. Thanks for the info.

 

Bookmarked!


Edited by 0BZEN, 23 April 2014 - 10:10 AM.

Everything is better with Metal.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.