Casting to projectile

I’m trying to cast to the first person projectile to edit the rebound delay:


with this code upon colliding with an object:

Any reason as to why this doesn’t edit the rebound delay after collision?

IMO If this is also on the projectile, the cast should always fail unless it collides with itself or another projectile of the same class. Did you check if the cast fails? If the overlap is in the projectile, then just remove the cast and it should work on every overlap.

If it’s not, guess it could be from projectile going too fast to having to check collision channels. We need more info.

1 Like

yeah probably should have clarified where these scripts are
the first image is in in the projectile and the 2nd one’s in the object (collectible)

I would test these things with print strings:

  • collision working?
  • cast failing?

and share the Info as well