--- title: "Parameters" url: "https://help.maxon.net/c4d/en-us/Content/html/GVHAIR_COLLISION-ID_GVPORTS.html" section_path: "Simulate Menu > The Simulation System > Hair > Hair Nodes > Hair-Polygon Collision > Parameters" element_id: "GVHAIR_COLLISION" group_id: "ID_GVPORTS" description: "This is the object whose guides should be checked for collision. If this node is active, the corresponding Hair object can also be placed into the …" --- ## Parameters ![Image: 005387.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/005387.jpg) ### Object Parameter ID: `GV_HAIR_COLLISION_INPUT_OBJECT` This is the object whose guides should be checked for collision. If this node is active, the corresponding Hair object can also be placed into the **Reference** field. ### Collision Index Parameter ID: `GV_HAIR_COLLISION_INPUT_NUM` · Range: [-2147483648..2147483647] Since many collisions can occur within the span of a single frame, this setting can be used to access the internally consecutively numbered collisions or their output values. ### Count Parameter ID: `GV_HAIR_COLLISION_OUTPUT_COUNT` · Range: [-2147483648..2147483647] This port contains the number of collisions actively taking place. ### Guide Parameter ID: `GV_HAIR_COLLISION_OUTPUT_GID` · Range: [-2147483648..2147483647] This port outputs each guide's internal guide number. ### Segment Parameter ID: `GV_HAIR_COLLISION_OUTPUT_SID` · Range: [-2147483648..2147483647] This is where the segment number guides that are actively colliding is output. The segment numbering begins at the root and continues up the guide. The root segment has the number **0**; subsequent segments can then be numbered sequentially, down to a **segments** value of -1 (whereby **segments** represents the number of segments defined in the **Segments** setting). ### Segment Delta Parameter ID: `GV_HAIR_COLLISION_OUTPUT_SEG_DELTA` · Range: [-∞..+∞] This port sets individual positions on segments. This value ranges from 0 (segment begin) to **1** (segment end). The settings in the three ports just described define an exact collision point on the guide. The collision points of colliding polygonal objects are output with the following two ports: ### Polygon Index Parameter ID: `GV_HAIR_COLLISION_OUTPUT_POLYINDEX` · Range: [-2147483648..2147483647] This Node constantly outputs the polygon numbers (these numbers can also be found in the Structure Manager) of the colliding polygons. ### Hit Point Parameter ID: `GV_HAIR_COLLISION_OUTPUT_HITPOINT` · Range: [XYZ ] This port outputs the collision positions as vectors. ### Velocity In Parameter ID: `GV_HAIR_COLLISION_OUTPUT_VELOCITY_IN` · Range: [XYZ ] ### Velocity Out Parameter ID: `GV_HAIR_COLLISION_OUTPUT_VELOCITY_OUT` · Range: [XYZ ] These ports can be used to output the speed before and after the collision. ### Frame Delta Parameter ID: `GV_HAIR_COLLISION_OUTPUT_FRAME_DELTA` · Range: [-∞..+∞] This port can be used to make a particular collision take place at a specific time. A value between 0 and **1**, beginning at the commencement of a frame of animation, can be set. ### Object Parameter ID: `GV_HAIR_COLLISION_OUTPUT_OBJECT` Use this node if you want to output colliding points from polygonal objects. To do so, connect the **Object** and **Polygon Index** output ports to the input ports of the same name on a Polygon Node. Objects that actually collide with the guides are always beside the **Object** output port.