View Issue Details

IDProjectCategoryView StatusLast Update
0003824The Dark ModScript/Defpublic22.08.2014 10:42
Reportertels Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product VersionTDM 2.02 
Summary0003824: scripts cannot get the contacts (entities touching an entity)
DescriptionCurrently, 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)".
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
22.08.2014 10:42 tels New Issue