BGE patch: create new BulletSoftBody data block to store bullet soft body specific parameters.

Previously we tried to share the parameters with the
blender render soft body but there were too many differences.

MSVC project files updated.
This commit is contained in:
2008-09-27 21:52:20 +00:00
parent 5f7359a4ad
commit c723b91446
12 changed files with 176 additions and 38 deletions

View File

@@ -3529,10 +3529,8 @@ void copy_attr(short event)
base->object->boundtype = ob->boundtype;
}
base->object->margin= ob->margin;
//base->object->linearStiffness= ob->linearStiffness;
//base->object->angularStiffness= ob->angularStiffness;
//base->object->volumePreservation= ob->volumePreservation;
//base->object->gamesoftFlag= ob->gamesoftFlag;
base->object->bsoft= copy_bulletsoftbody(ob->bsoft);
}
else if(event==17) { /* tex space */
copy_texture_space(base->object, ob);