contact.find
Syntax
- cp = contact.find(s,id<,id2>)
Find a contact. The first argument s indicates the contact type and may be a string referring to the contact type name (e.g., ball-ball) or an integer referring to the contact type identifier. If only two arguments are provided, the second argument id refers to the contact ID. If three arguments are provided, then the second and third arguments id and id2 refer to pieces’ IDs. Note that the order is important if the contact is not between pieces of the same type (id referring to the ID of the first end of the contact, and id2 to the ID of the second end). If the contact is between pieces of the same type, then the order is ignored.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 19, 2024 |