Blender Git Loki

Git Commits -> Revision 820ca41

Revision 820ca41 by David Vogel (master)
July 30, 2020, 16:53 (GMT)
Add compound shape for rigid body simulation

This patch adds a new compound shape entry to the shape selection
dropdown. It also corrects wrong inertia calculation for convex hulls,
that resulted in strange behavior for small objects.

The compound shape take the collision shapes from its object children
and combines them. This makes it possible to create concave shapes from
primitive shapes. Using this instead of the mesh collision shape is
often many times faster.

Reviewed By: Sergey, Sebastian Parborg

Differential Revision: https://developer.blender.org/D5797

Commit Details:

Full Hash: 820ca419e098f1ac90b499180a3206dd44692ba8
Parent Commit: d394494
Committed By: Sebastian Parborg
Lines Changed: +284, -40

1 Added Path:

/extern/bullet2/patches/btPolyhedralConvexShape_Inertia_fix.patch (+41, -0) (View)

10 Modified Paths:

/extern/bullet2/src/BulletCollision/CollisionShapes/btCompoundShape.cpp (+1, -1) (Diff)
/extern/bullet2/src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp (+8, -8) (Diff)
/intern/rigidbody/RBI_api.h (+8, -0) (Diff)
/intern/rigidbody/rb_bullet_api.cpp (+69, -0) (Diff)
/release/scripts/startup/bl_ui/properties_physics_rigidbody.py (+41, -5) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+99, -24) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+10, -0) (Diff)
/source/blender/makesdna/DNA_rigidbody_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_rigidbody.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021