Bouncyrock / TaleSpire-Alpha-Public-Issue-Tracker

Issue tracker for the TaleSpire Alpha
3 stars 0 forks source link

Player creatures seeing creatures on known terrain through walls #89

Open Lagicrus opened 5 years ago

Lagicrus commented 5 years ago

Describe the bug A character can see a creature over the walls of a base if the top walls aren't loaded in and they know the landscape outside it

To Reproduce Steps to reproduce the behavior:

  1. Walk up stairs to the 2nd floor
  2. Don't activate the 2nd floor
  3. You will see the creature

Screenshots/Videos/Twitch Clips From outside in GM mode image Inside on the first floor image As you can see the player cannot see the merchant (empty box) image They can now instantly see the merchant even though they are only on the first stair (this occurs all the way up the stairs) image Upon engaging the 2nd floor the merchant can no longer be seen image

Additional context This only seems to affect player creatures who already know the landscape outside looks like. As shown below with a newly created creature (blacksmith) under the player's control the character sees nothing as expected, not the landscape and not the merchant. image But then the moment the blacksmith goes through the main inn door to see the outside landscape and thus adding it to seen places. The glitch happens again on the staircase

cbaggers commented 5 years ago

Thanks! excellent report. This is definitely something we need to fix. It gets interesting as by disabling upper floors we stop the engine having to process them for each frame. I'll need to make sure the colliders are enabled for all the places where there are creatures, but in some way that doesnt put too much load on the physics engine.

I'll go have a ponder on this. Thanks again

cbaggers commented 5 years ago

Tracking internally https://github.com/Bouncyrock/TaleSpire/issues/457