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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Entity-connected lights and areas (solved)
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#6
RE: Entity-connected lights and areas (solved)

I think you could make a big body that does not physically collide, but works to use with addcollideentitycallback. So if you set a variable when you have added the ember to the bucket, you could then check the players in/out collision with the big body of the bucket to know if he is in or outside the light (the body would be like an area).

At least in Penumbra overture we have one place with a big rock rolling over the player, and to be sure there was no hiccup the entity does not collide physically with the player, but there is an addcollideentitycallback to check if the entity has rolled over the player.

Amnesia is a little bit different so could be this idea does not work any longer.
02-02-2011, 06:49 AM
Website Find


Messages In This Thread
RE: Entity-connected lights and areas (solved) - by jens - 02-02-2011, 06:49 AM



Users browsing this thread: 1 Guest(s)