View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003824 | The Dark Mod | Script/Def | public | 22.08.2014 10:42 | 22.08.2014 10:42 |
Reporter | tels | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Product Version | TDM 2.02 | ||||
Summary | 0003824: scripts cannot get the contacts (entities touching an entity) | ||||
Description | Currently, the scripting interface has entity.touches(entity), which returns if the two entities touch. There is, however, no way to find out which entities are actually toching the current entity without running through the full list of entities. A way that works like the numTargets() and getTarget(num) would be very useful. For compatibility with other events it could be either "float numContacts()" or "float getNumContacts()" and "entity getContact(num)". | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
22.08.2014 10:42 | tels | New Issue |