I’m making a third person game, i made a turret that shoots needles. the problem is i can’t get the needles to stick in the walls or player. i tried to make it really thin but it just doesn’t work!
What if you go something like OnCollisionEnter IsKinematic=true:(Type thing) will that work?
AC
I would think that OnCollisionEnter should remove the rigidbody and parent the other collider’s tranform. That way to guarantee that your needles stick into whatever and move with it. If you want, you can set a time after impact that fades out/destroys the needle after a certain amount of time.
sticky grenade script here:
thanx that worked! oh, but there was one problem wich was if the scripted projectile hits my character he wont move. do you know why?