Author Topic: Sticking to things.  (Read 1204 times)

Is it possible for an object to stick to players, but bounce off of walls? If so , could you give me an example script? (Please use the spear)

Thanks.

Halo sticky grenade I beat, anyway the only time I see some thing sticking is on a static object but on a player seems impossible with out mounting to a joint.

It's possible, you'd have to mount the object to the closest mount point on the player you hit but it wouldn't be in exactly the same place you hit.

The bouncing off walls just make the projectile bouncy, I'm not 100% sure on how to do that.

I won't do it for you otherwise you'll just copy and paste and not learn.

Mounting to the player would mean it removes your weapon if you are holding one and hit in the arm, lose any hats/accessories like the Santa Hat or the ones Packer made, etc. Too buggy to 'work' and look good.

However, sticking to walls is easy with a static shape, like the Shuriken.

I won't do it for you otherwise you'll just copy and paste and not learn.

Are you serious? All hail the king of hypocrisy.

I don't just copy and paste stuff...

I won't do it for you otherwise you'll just copy and paste and not learn.
I wasn't planning on it... I would've taken a look at the Ballinator script, and would've checked to see what he did differently, then do it to mine until something worked.

I won't do it for you otherwise you'll just copy and paste and not learn.
I wasn't planning on it... I would've taken a look at the Ballinator script, and would've checked to see what he did differently, then do it to mine until something worked.

All I did was change the bullet shell shape and increased the time it stays.