Jump to content

Trigger events for entering / leaving the room


Huxi

Recommended Posts

Hello all,

 

my first article here :). 

 

I am implementing a lightening system at the moment. I have lights, which are going on, when somebody is entring a room and switching off when leaving it. For this I have to know, if characters are entering / leaving the room. I was wondering, if I can use SECTR to find this out via trigger events.(It would be better for performance if I would not need to check this in Update() ). I have studied the documentation and the API, but besides the trigger events for loading I haven't found anything helpful.

 

What I have done so far is using the bounds of sectors to find out, if somebody is within them, but this will not work properly if the room is not a perfect rectangle. I am even wondering if I can create a sector for a not-rectangle room - that's my second question actually.

 

Any ideas?

 

Thank you

Huxi

Link to comment
Share on other sites

Could you potentially tie into the Neighbor Loader? 
It should load the room before and after or you can specify how many additional rooms it can load. 

The only other thing I can think of would be to tie into Sectr Vis 

I will check on a few things and see what I can come up with! 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...