Space Ship Shield effect ?

Hey everyone,

I’m tryng to make a shield effect around a ship.
I have 1 sphere around the ship, this sphere has the renderer invisible, and has a collider that is defined as a trigger.
Then one body hits the shield, i simply turn the renderer on for a few seconds, then i hide it.
What i want to accomplish to render only the parts of the sphere that got it, preferaby to draw a cirle impact in the area of the shield that got hit.
Any clues on how to do this ?
thanks,
Bruno

I would say, instead just spawn a “sheild hit effect” whenever the invisible sheild is hit, at the location of the hit. That should work fine and dandy :slight_smile:

Does it need to be able to sustain multiple hits with effects?

Yes, it needs to be able to sustain several hits before being hit.
Just spawing there itn’t working.
I’m geetinng the hit.point, and i have the forward direction of the projectile.
So, if i create an half-sphere at hit.point, and multiply the direction of this “half-sphere” shield effect by the inverse of the forward vector of the projectile, i should get it, right ?
Well, i’not getting it, ehh

Spawning should work fine??

Just make sure it is spawned at a rotation corresponding to the projectile’s angle of attack, and it should be fine :slight_smile:

If you have the script for that that would be great to share with us!