Finds a transformation for the item to be dropped to If the initial transforation overlaps with another conflicting entity (i.e. car) then the transform will be snapped to the nearest outer edge. If no valid snapping transformation could be found, then the output from 'PlaceOnSurface' is used.
- Аргументы
-
useValuesInMatrix | Is ignored if transformation overlaps with possible conflicting entity. If no valid transform is found and this is false then the transform at the owner is used for 'PlaceOnSurface' |
conflictCheckDepth | If -1 then no conflict depth check is performed, if 0 then it only checks to see if it conflicts but doesn't perform snapping |
- Возвращает
- true if valid transformation found near owner
Используется в DropEquipAndDestroyRootLambda::CopyOldPropertiesToNew(), HandleDropMagazine(), ManBase::PredictiveDropEntity(), SetGroundPosByOwner() и SetGroundPosByTransform().