OndrejNepozitek / Edgar-Unity

Unity Procedural Level Generator
https://ondrejnepozitek.github.io/Edgar-Unity/docs/introduction
MIT License
817 stars 70 forks source link

DoorDirection #100

Closed pvalium closed 3 years ago

pvalium commented 3 years ago

Is there any way to get DoorDirection of a DoorInstance? I want to know which doors of a RoomInstance are entrances, or exits, but currently in DoorInstance there isn't any property to get direction.

Regards

OndrejNepozitek commented 3 years ago

Hello, this is currently not possible but I think it's a good suggestion for an improvement. As of now, this information is not even returned by Edgar-DotNet so the Unity asset has no way make it available. If you're interested, I should be able to implement this in a few days.

pvalium commented 3 years ago

It's necessary for me, because i want to set levers-buttons-traps, etc that open/closes exit, for example.

I think is a interesting feature in order to have more control of rooms. If you can do it, it will be awesome.

El mié., 7 jul. 2021 14:43, Ondřej Nepožitek @.***> escribió:

Hello, this is currently not possible but I think it's a good suggestion for an improvement. As of now, this information is not even returned by Edgar-DotNet so the Unity asset has no way make it available. If you're interested, I should be able to implement this in a few days.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OndrejNepozitek/Edgar-Unity/issues/100#issuecomment-875570957, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE25VMQDSGWDW27CCNGGUATTWRDW7ANCNFSM4747UIHQ .

OndrejNepozitek commented 3 years ago

Hey, please send me an email at ondra@nepozitek.cz so I can reply to you with a modified version of Edgar.