mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:45:34 +00:00
Bug #1107: Reverted previous fix, which caused problems with some actors not using a box shape as expected. Instead, do not create a bounding box collision shape for hidden nodes.
This commit is contained in:
parent
03b2e99802
commit
0a8c61a7fe
1 changed files with 2 additions and 1 deletions
|
@ -229,7 +229,8 @@ void ManualBulletShapeLoader::handleNode(btTriangleMesh* mesh, const Nif::Node *
|
|||
{
|
||||
if(node->hasBounds)
|
||||
{
|
||||
if (node->flags & Nif::NiNode::Flag_BBoxCollision)
|
||||
// Checking for BBoxCollision flag causes issues with some actors :/
|
||||
if (!(node->flags & Nif::NiNode::Flag_Hidden))
|
||||
{
|
||||
mShape->mBoxTranslation = node->boundPos;
|
||||
mShape->mBoxRotation = node->boundRot;
|
||||
|
|
Loading…
Reference in a new issue