2.56: most efficient way to detect which mesh the player is in?


I am working on my dynamic cel loading system but I have run into a small snag. I need a good way to find out what cel the player is in. I could use a near sensor on each cel, but I’m afraid that would fire way too often, even if I add a check to see if the location has changed. Can anyone help me out?


Use a near or a collision sensor at the player object. So you just have one.

I guess that is the best way, I will just exit the script if the cel is still the same, that should keep the burden down I suppose. Thanks!