free-language / box2d

Automatically exported from code.google.com/p/box2d
0 stars 0 forks source link

Change friction/restitution mixing functions to accept fixtures #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Refactor friction and restitution mixing functions to accept pointers to the 
fixtures involved instead of the actual friction/restitution values.  This 
should greatly increase flexibility in customizing friction/restitution 
behaviors, and allow for custom behaviors based on other gameplay data (such as 
the type of objects involved).

Original issue reported on code.google.com by aaronpen...@gmail.com on 11 Jun 2010 at 3:43

GoogleCodeExporter commented 9 years ago
Issue 144 has been merged into this issue.

Original comment by erinca...@gmail.com on 27 Mar 2011 at 6:43

GoogleCodeExporter commented 9 years ago
You can now set the friction on a b2Contact. A side effect is that changing the 
friction on a fixture will not change the friction on current contacts.

Original comment by erinca...@gmail.com on 27 Mar 2011 at 6:44