Set variable type for collission object