c7fd6818a4
- FindItemAtPosition uses the distance calculated in CanInteractWith to determine how close an item is to the character. Otherwise very large items (such as ladders) wouldn't be possible to select with aim assist unless the player happens to be holding the cursor close to the center of the item. - The hull-parameter is taken into account in FindItemAtPosition. - Characters are considered to be inside a trigger if either their lower or upper body is inside it. - Added triggers to engines because they are often placed partially inside a wall, making it impossible to rewire them if the center is not inside the sub.