Тема: EntityVisible
Показать сообщение отдельно
Старый 06.05.2013, 19:59   #4
tormoz
Гигант индустрии
 
Аватар для tormoz
 
Регистрация: 14.12.2005
Сообщений: 2,785
Написано 1,183 полезных сообщений
(для 4,437 пользователей)
Ответ: EntityVisible

EntityPickMode entity,pick_geometry[,obscurer]
Parameters
entity - entity handle

pick_geometry - type of geometry used for picking:
0: Unpickable (default)
1: Sphere (EntityRadius is used)
2: Polygon
3: Box (EntityBox is used)

obscurer (optional) - True to determine that the entity 'obscures' other entities during an EntityVisible call. Defaults to True.

Description
Sets the pick mode for an entity.

The optional obscurer parameter 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. So, its very much EntityVisible specific.

Please note that only Sphere and Box picking will work with Blitz3D sprites. For polygon picking, you will need a valid mesh.
__________________
(Offline)
 
Ответить с цитированием
Сообщение было полезно следующим пользователям:
Kudesnic (07.05.2013)