Blender Git Loki
Git Commits -> Revision 12b69a9
Revision 12b69a9 by Lukas Toenne (temp_merge_gooseberry_hair) January 19, 2015, 17:04 (GMT) |
Add weak repulsion forces to hair collision response to keep the hair at a the margin distance ("outer" softbody margin). This has to be clamped arbitrarily unfortunately, otherwise the repulsion force can add too much energy into the system. A factor of 4 * restitution impulse seems to give good results for now, this can be refined later on if necessary. |
Commit Details:
Full Hash: 12b69a966d1b7ff84be0383e4dda0d42fe492d41
Parent Commit: 90715c9
Lines Changed: +16, -15
1 Modified Path:
/source/blender/physics/intern/BPH_mass_spring.cpp (+16, -15) (Diff)