--- title: "Parameters" url: "https://help.maxon.net/c4d/en-us/Content/html/GVHAIR_INTERSECTION-ID_GVPORTS.html" section_path: "Simulate Menu > The Simulation System > Hair > Hair Nodes > Hair Intersection > Parameters" element_id: "GVHAIR_INTERSECTION" group_id: "ID_GVPORTS" description: "Use this port to pass an object to be checked for overlapping, or drag an object into the Reference field." --- ## Parameters ### Object Parameter ID: `GV_HAIR_INTERSECTION_INPUT_OBJECT` Use this port to pass an object to be checked for overlapping, or drag an object into the **Reference** field. ### Position Parameter ID: `GV_HAIR_INTERSECTION_INPUT_POSITION` · Range: [XYZ ] Use this setting port to enter a position vector. This can be done more easily in the XPresso Editor by connecting the positions of corresponding objects or particles to the **Position** input port. ### Velocity Parameter ID: `GV_HAIR_INTERSECTION_INPUT_VELOCITY` · Range: [XYZ ] A velocity vector can be entered here, or simply connect the corresponding velocity vectors to the **Velocity** input port in the XPresso Editor. How can the velocity vectors of (normally) animated objects be ascertained? Drag the object into the XPresso Editor and subsequently activate the **History Level** setting with a value of at least **1**. Finally, select **Position Velocity** as your output port. ### Radius Parameter ID: `GV_HAIR_INTERSECTION_INPUT_RADIUS` · Range: [-∞..+∞] This is the radius of the (virtual) spherical **area of detection** that is placed around a given position that should be checked for collision with guides or hairs. Enter a value greater than **0**, otherwise no intersections will take place. ### Intersection Parameter ID: `GV_HAIR_INTERSECTION_INTERSECTION` The result of this output port is a Boolean **true** or **false**, depending on whether or not intersections take place. ### Guide Parameter ID: `GV_HAIR_INTERSECTION_GUIDE` · Range: [-2147483648..2147483647] This port outputs the guide number of the intersecting guide. ### Segment Parameter ID: `GV_HAIR_INTERSECTION_SEGMENT` · Range: [-2147483648..2147483647] This port outputs the segment number of the intersected segment. ### Segment Delta Parameter ID: `GV_HAIR_INTERSECTION_SEGMENT_T` · Range: [-∞..+∞] This port outputs the exact position at which a given segment was intersected. A value between 0 (segment start) to **1** (segment end) will result. ### Ray Delta Parameter ID: `GV_HAIR_INTERSECTION_RAY_T` · Range: [-∞..+∞] This port outputs the exact position at which a given velocity vector was intersected. A value between 0 to **1** will result. ### Position Parameter ID: `GV_HAIR_INTERSECTION_POSITION` · Range: [XYZ ] This port outputs the point of intersection on the guide containing the velocity vector as vector.