Author Topic: FOW - Update fog  (Read 1375 times)

Alendro305

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
FOW - Update fog
« on: February 06, 2016, 09:19:17 PM »
Hey,

I was trying the asset out and I wasn't sure how to update the fog when an object either moves around (like a door opening and revealing the inside of a room) or when an object is destroyed and revealing what's on the other side. When I tried moving the object around or disabling the object, the fog didn't update. Am I doing something wrong or is there a way to add this feature to the current system?

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,152
  • Toronto, Canada
    • View Profile
Re: FOW - Update fog
« Reply #1 on: February 06, 2016, 11:58:02 PM »
Call FOWSystem.CreateGrid() if you've changed the objects that can block sight.