Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2008-09-25 07:02:30 +0400
committerErwin Coumans <blender@erwincoumans.com>2008-09-25 07:02:30 +0400
commit718e2bf74f0ba2dcabe5bee7d88c1975ecfe9f06 (patch)
tree4b39512b98daef011a4f1031b3f87c0da6c10a5a /source/gameengine/Ketsji/KX_ConvertPhysicsObject.h
parent38a80ff9a5c6d7bebef42bc3b8320d781b4e4f1c (diff)
improved game soft bodies, works for objects that are using 'set smooth'
use shape matching by default for game soft bodies store soft body index for game vertices
Diffstat (limited to 'source/gameengine/Ketsji/KX_ConvertPhysicsObject.h')
-rw-r--r--source/gameengine/Ketsji/KX_ConvertPhysicsObject.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h b/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h
index 2b6c2535878..6325c9365fd 100644
--- a/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h
+++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObject.h
@@ -87,6 +87,12 @@ struct KX_ObjectProperties
bool m_disableSleeping;
bool m_hasCompoundChildren;
bool m_isCompoundChild;
+
+ float m_linearStiffness;
+ float m_angularStiffness;
+ float m_volumePreservation;
+ int m_gamesoftFlag;
+
double m_margin;
KX_BoundBoxClass m_boundclass;
union {