Just some of the objects invisible please
Ok, I know this is a problem of value, but I can't solve this.
"Object1 is overlaping object2: object 1 becomes invisible"
"Object1 is not overlaping object2: object 1 becomes visible"
Ok, but I have 10 objects1 and all of them becomes invisble at once when one of them touchs object 2, how can I solve this problem?
thanks.
Re: Just some of the objects invisible please
Um, I can't reproduce that here. Can you post an example of this?
Re: Just some of the objects invisible please
ok, so I have a big blue block, and I want that when something touchs this block, it becomes invisible.
What happens is that all objects becomes invisible at once, this is the problem.
Re: Just some of the objects invisible please
I get that. And when I do what you do it only make the object that was hit turn invisible. Please post and example of this problem in the File Archive forum.
Re: Just some of the objects invisible please
Problem solved, thanks a lot
Re: Just some of the objects invisible please
Care to explain how it was solved?
Re: Just some of the objects invisible please
Actualy... I atached another object into the object that I wanted to make visible/invisible
So it was something like this:
"Object1 colides with object2: object3 becomes invisible"
Then every object3 became invisible, I changed this for:
"Object1 colides with object3: object3 becomes invisible"
Looks like indirect ordder for multiple objects needs some alterable value work, so I just made it to work directly.
Re: Just some of the objects invisible please
1 of a few workarounds i'm sure.
Could you also do object overlapping another object set val.a to 1, if value a equals 1 set visibility to invisible?
Re: Just some of the objects invisible please
It seems a workaround is by far not needed. I have an example that shows two methods, the second one being better. But either way, your glitch does not happen. The closest I could get to a glitch was that once the objects were made invisible, they didn't reapper untill ALL instances were not touching the other obejct. So, in the second frame I used the foreach object and it works fine.
http://www.LB-Stuff.com/MMF2/Visibility.mfa
(You may have to use my Downloader utility to download it if my webserver thinks it's a tiff image)
Re: Just some of the objects invisible please
You are dealing with infinitives here, that is, either is always occurring. You could have:
Always: Set Object to invisible
On Overlap: Set object to visible
Re: Just some of the objects invisible please
Jacob's way works great too and doesn't use any extensions ;) use his way.
Re: Just some of the objects invisible please
Sorry for not answering, I didnt have much time lately, I will donwload and check that, and then I will give feedback =]
Thanks a lot!