Menu

EntityPickMode

UltraBas

EntityPickMode entyty, method, obscurer

Make an entity pickable (with [EntityPick], [CameraPick] or [LinePick]);

method is the picking detection method:

1: ellipsoid picking (fastest, but not much accurate: you need to set ellipsoid radius with EntityRadius)

2: polygon picking (the most precise, but slower)

3: box picking (need to set box size with EntityBox)

obscurer is an optional parameter: it is used with [EntityVisible] to determine just what can get in the way of the line-of-sight between 2 entities. This allows some entities to be pickable using the other pick commands, but to be ignored (i.e. 'transparent') when using [EntityVisible]


Related

Wiki: Alphabetical-commands
Wiki: CameraPick
Wiki: Category-commands

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.