I just spent two hours trying to figure out why a hit trigger was sending an impulse even though the hit object was invisible ( Yes, physics was default, NOT - no contact response )
Basically, I only wanted the hit effect when the object was visible but, it just wouldn't have it.
I had to add an "enable" data source ( 1 or 0 thing ) on the hit trigger along with the visibility event of the hit object to make it work correctly.
Why are so many things in Evo a bit ... hit and miss...
Default: normal behaviour depending on visibility.
Contact Response: collision even if invisible.
No Contact Response: no collision, but will send impulses when hit.
Decoration Only: object is visual only
It was set as default... I only wanted the impulse triggered when the object was visible.
I've sorted it out now ... there's always another way...
default will toggle between Contact Response and No Contact Response depending on visibility, so the trigger would always be active, it was not a glitch, that's just how it's designed. Your method was probably the easiest way around it.Originally Posted by Cruelty976
lukey he's saying hit trigger even send impulses when the object was invisible when he had default
i don't know why it does that though
might be because you were changing between visible and invisible and when changing to invisible it kept its physics body
you started invisible or visible?
you tested if that make a difference?
I know he's saying that, that's how it's suposed to work, the only setting that won't send an impulse is Decoration Only, whether the item is visible or not.Originally Posted by sparkierjonesz
With the Physics Type set to default, a visible object effectively uses the "Contact Response" type, and turning it invisible will cause it to have the properties of 'No Contact Response' but both of these Physics Types still send an impulse to a hit trigger, so unless an an invisible item is set to Decoration Only, it will still send impulses when hit. This is a perfectly normal occurrence.
Originally Posted by Cruelty976
thats the good thing about the editor...there are quite a few different ways to achieve your goals...even if sometimes, as in my case alot, the logic is more than wot is needed...
how about you use area trigger to activate the effect and also use it to turn on the visibility of the object? sounds like it would work .
The trouble was that the hit trigger was activating and sending an impulse when the bike passed over the invisible hit object.
I only wanted it triggering if the hit object was visible.
It's sorted out now anyway.
Thanks everyone for your thoughts and ideas.![]()
it's hit and miss cause that's the nature of impulses. On or off. 1 or 0. The trouble is always in finding where you goofed up. Luckily you fixed it swiftly this time.