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 Allen Chou   Members   -  Reputation: 246

Like
5Likes
Like

Posted 18 April 2014 - 12:51 AM

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 / Engine
http://allenchou.net


Sponsor:

#2 SeanMiddleditch   Members   -  Reputation: 7161

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.

#3 ferrous   Members   -  Reputation: 2146

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 Allen Chou   Members   -  Reputation: 246

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 / Engine
http://allenchou.net


#5 0BZEN   Crossbones+   -  Reputation: 2025

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.



PARTNERS