Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Connect Area to Entity
It's impossible to attach an area to an entity (in HPL2). The alternative is to attach an invisible box entity to the target entity and constantly call GetEntitiesCollide() to see if it has collided with another entity of choice. However, this is only for entities that have trouble detecting collision. Otherwise, you can avoid the invisible box and just use GetEntitiesCollide() for the two entities.
(This post was last modified: 08-14-2011, 07:38 PM by Your Computer.)
|
|
08-14-2011, 07:35 PM |
|