StressLevelZero / MarrowSDK-Legacy

MIT License
288 stars 39 forks source link

NPC's can see through walls #76

Open DevynCole opened 1 year ago

DevynCole commented 1 year ago

If I place a omni projector hazmat in one room, and a null body in another, the omni will attempt to attack the null body through the wall. Can we please get access to the proper tags or whatever in game element stops this?

DevynCole commented 1 year ago

Coming back to also add that knowing exactly what the player's layer/tag is for trigger collision would be fantastic.

Greased-Scotsman commented 1 year ago

Were the walls of the room set to Static and use the Static layer? The default Block Vision layer for most enemies is Static.

As for Player collision and detection, while they are subject to change at any time, there is currently both a "Player" tag and "Player" layer. Layers are not officially included with the SDK at this time, though we are aware community efforts have made them available for modders.