Blender Git Loki
Git Commits -> Revision 63f0231
Revision 63f0231 by Luca Rood (cloth-improvements) January 13, 2017, 00:41 (GMT) |
Apply collision responce on state before pre-collision solve (breaks selfcol) This uses the pre-collision solve result only to find the collisions and calculate the responce impulses, but rolls back to before the pre-collision solve when it is time to actually apply the responce. This prevents the cloth from undergoing a double solve per time-step, which essentially made colliding clothes move much faster than non-colliding clothes. |
Commit Details:
Full Hash: 63f023111db02ec958dcdf562e0f501432c4bb5b
Parent Commit: 66d19eb
Lines Changed: +40, -26
5 Modified Paths:
/source/blender/blenkernel/BKE_cloth.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/collision.c (+1, -0) (Diff)
/source/blender/physics/intern/BPH_mass_spring.cpp (+32, -26) (Diff)
/source/blender/physics/intern/implicit.h (+1, -0) (Diff)
/source/blender/physics/intern/implicit_blender.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/collision.c (+1, -0) (Diff)
/source/blender/physics/intern/BPH_mass_spring.cpp (+32, -26) (Diff)
/source/blender/physics/intern/implicit.h (+1, -0) (Diff)
/source/blender/physics/intern/implicit_blender.c (+5, -0) (Diff)