B

BasicCollideNode

Associated Parameters: BasicCollisionNode

Introduced

7.0

UI Location

• Geometry Queries

Description

Calculates the collision location and time between a moving point and a moving and deforming geometry. Currently collisions with NURBS surfaces will not take deformation into account, only animation of the transform.

Note: This node only works with obstacles made of polygon meshes or NURBS surfaces. Curves and Point Clouds are return no collisions.

Parameters

Parameter Name | Scripting Name | Type | Description
Method | method | Integer | Method Possible Values: • 0: Deformed Collision (Continuous) • 1: Static Collision

Port Description

Inputs

Group ID | Instance s | Port Name | Connection Info | Description
0 | 0 | obstacle | • Type: siICENodeDataGeometry • Structure: siICENodeStructureSingle • Context: siICENodeContextSingleton | The geometry to on which to test the collision.
startposition | • Type: siICENodeDataVector3 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The position of the point on which we test collisions at the input frame fraction.
movement | • Type: siICENodeDataVector3 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The translation vector of the point until the end of the frame.
framefraction | • Type: siICENodeDataFloat • Structure: siICENodeStructureAny • Context: siICENodeContextAny | Where we are in the frame expressed as a fraction.
currentcollision | • Type: siICENodeDataLocation • Structure: siICENodeStructureAny • Context: siICENodeContextAny | Location of the previous inter-frame collision. This is optional but helps making collisions more robust. This is typically the previous output of the Basic Collide node.
currentcollisionisoutside | • Type: siICENodeDataBool • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The point inside or outside the geometry at the start of the motion.

Outputs

Port Name | Connection Info | Description
location | • Type: siICENodeDataLocation • Structure: siICENodeStructureAny • Context: siICENodeContextAny | Location where the point hits the geometry. An undefined location is returned if nothing was hit.
hit | • Type: siICENodeDataBool • Structure: siICENodeStructureAny • Context: siICENodeContextAny | Outputs true if the point hits the geometry.
hitframefraction | • Type: siICENodeDataFloat • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The fraction of the frame at which time the point hit the geometry.
isoutside | • Type: siICENodeDataBool • Structure: siICENodeStructureAny • Context: siICENodeContextAny | Whether the point is outside the geometry at collision time.

Restrictions

• These structures must match: startposition, movement, framefraction, currentcollision, currentcollisionisoutside, location, hit, hitframefraction, isoutside

• These contexts must match: startposition, movement, framefraction, currentcollision, currentcollisionisoutside, location, hit, hitframefraction, isoutside

See Also

GenerateSampleSetNode | GetClosestLocationNode | GetClosestPointsNode | GetGeometrySampleNode
GroupGeometryNode | IsOnGeometryNode | PointInVolumeNode | RaycastNode
UndefinedLocationNode | UVToLocationNode |  |

Autodesk Softimage v7.5