--- title: "Parameters" url: "https://help.maxon.net/c4d/en-us/Content/html/GVCOLLISION-ID_GVPORTS.html" section_path: "XPresso > XPresso Nodes > General > Collision Operator > Parameters" element_id: "GVCOLLISION" group_id: "ID_GVPORTS" description: "Outputs a value of the type Boole which indicates whether the objects are currently colliding." --- ## Parameters ### Object 1 Parameter ID: `GV_COLLISION_INPUT_OBJECT1` ### Object 2 Parameter ID: `GV_COLLISION_INPUT_OBJECT2` see also [Node Properties / Collision Type: Object](https://help.maxon.net/c4d/en-us/Content/html/GVCOLLISION-ID_GVPROPERTIES.html.md). ### Tolerance Parameter ID: `GV_COLLISION_INPUT_TOLERANCE` · Range: [0.00..+∞] see also [Node Properties / Collision Type: Tolerance](https://help.maxon.net/c4d/en-us/Content/html/GVCOLLISION-ID_GVPROPERTIES.html.md). ### Collision Parameter ID: `GV_COLLISION_OUTPUT` Outputs a value of the type Boole which indicates whether the objects are currently colliding. ### Distance Parameter ID: `GV_COLLISION_OUTPUT_DISTANCE` · Range: [-∞..+∞] Outputs the smallest distance between the objects (works in the Sphere and Distance modes only). ### Polygon Index 1 Parameter ID: `GV_COLLISION_OUTPUT_INDEX1` · Range: [-2147483648..2147483647] If a collision has been detected, this port outputs the index number of the polygon in Object 1 that collided first (provided Collision Type is set to Object or Distance). ### Polygon Index 2 Parameter ID: `GV_COLLISION_OUTPUT_INDEX2` · Range: [-2147483648..2147483647] If a collision has been detected, this port outputs the index number of the polygon in Object 2 that collided first (provided Collision Type is set to Object or Distance). ### Point 1 Parameter ID: `GV_COLLISION_OUTPUT_POINT1` · Range: [XYZ ] This port only works when **Collision Type** is set to **Distant** and will return the position vector of the point of the nearest object (Input Port: Object 1). The objects should not collide with each other! ### Point 2 Parameter ID: `GV_COLLISION_OUTPUT_POINT2` · Range: [XYZ ] This port only works when **Collision Type** is set to **Distant** and will return the position vector of the point of the second nearest object (Input Port: Object 2). The objects should not collide with each other!