Revert "Merge remote-tracking branch 'origin/ryzom/ark/features' into ryzom/ark/features"

This reverts commit a6ee9fec63.
ryzom/ark/features
Ulukyn 5 years ago
parent a6ee9fec63
commit 34c1265bce

@ -2339,8 +2339,8 @@ int CLuaIHMRyzom::addShape(CLuaState &ls)
NLMISC::CAABBox bbox;
instance.getShapeAABBox(bbox);
primitive->setReactionType(UMovePrimitive::DoNothing);
primitive->setTriggerType(UMovePrimitive::OverlapStairsTrigger);
primitive->setReactionType(UMovePrimitive::Slide);
primitive->setTriggerType(UMovePrimitive::NotATrigger);
primitive->setAbsorbtion(0);
primitive->setPrimitiveType(UMovePrimitive::_2DOrientedBox);
@ -2349,10 +2349,10 @@ int CLuaIHMRyzom::addShape(CLuaState &ls)
primitive->setCollisionMask(MaskColPlayer | MaskColNpc | MaskColDoor);
primitive->setOcclusionMask(MaskColPlayer | MaskColNpc | MaskColDoor);
primitive->setObstacle(false);
primitive->setObstacle(true);
primitive->setGlobalPosition(instance.getPos()+CVector(0, 0, 0.5f), dynamicWI);
primitive->setGlobalPosition(instance.getPos(), dynamicWI);
primitive->insertInWorldImage(dynamicWI);
}

Loading…
Cancel
Save