diff options
author | Sergej Reich <sergej.reich@googlemail.com> | 2013-04-26 20:27:20 +0400 |
---|---|---|
committer | Sergej Reich <sergej.reich@googlemail.com> | 2013-04-26 20:27:20 +0400 |
commit | 63891a7638af9197a7134a3e0896b61498557cd0 (patch) | |
tree | c30ff9f64455fd320d20ab83a17f4dd0d721034f | |
parent | 126ca24dbf85d6c3385b5c9c1c22773fece00bb7 (diff) |
game engine: Use 0.04 as default collision margin
0 is to unstable as a default.
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index fb950b180a9..0d577c25d79 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -947,7 +947,7 @@ Object *BKE_object_add_only_object(Main *bmain, int type, const char *name) ob->anisotropicFriction[1] = 1.0f; ob->anisotropicFriction[2] = 1.0f; ob->gameflag = OB_PROP | OB_COLLISION; - ob->margin = 0.0; + ob->margin = 0.04f; ob->init_state = 1; ob->state = 1; /* ob->pad3 == Contact Processing Threshold */ |