Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connect Area to Entity
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#3
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.

Tutorials: From Noob to Pro
(This post was last modified: 08-14-2011, 07:38 PM by Your Computer.)
08-14-2011, 07:35 PM
Website Find


Messages In This Thread
Connect Area to Entity - by Phoroneus - 08-14-2011, 07:00 PM
RE: Connect Area to Entity - by palistov - 08-14-2011, 07:28 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 07:35 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 08:09 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 08:39 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 08:51 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 09:21 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 09:56 PM
RE: Connect Area to Entity - by Your Computer - 08-14-2011, 10:27 PM
RE: Connect Area to Entity - by Phoroneus - 08-14-2011, 10:33 PM
RE: Connect Area to Entity - by Your Computer - 08-15-2011, 02:46 AM
RE: Connect Area to Entity - by Phoroneus - 08-15-2011, 09:42 AM
RE: Connect Area to Entity - by palistov - 08-14-2011, 11:31 PM
RE: Connect Area to Entity - by Tanshaydar - 08-14-2011, 11:36 PM
RE: Connect Area to Entity - by palistov - 08-14-2011, 11:37 PM
RE: Connect Area to Entity - by Tanshaydar - 08-14-2011, 11:40 PM
RE: Connect Area to Entity - by Phoroneus - 08-15-2011, 01:01 AM
RE: Connect Area to Entity - by Apjjm - 08-15-2011, 01:52 AM



Users browsing this thread: 1 Guest(s)