Question by
tonibm1999 · Apr 11, 2016 at 06:44 PM ·
triggercollider2dparenting
Mess up with triggers, colliders and all this stuff :(
So, I want to code grenades. Right now I have a trigger and a boxcollider in them, with a rigidbody2D too. The problem is. I want the player to take the grenades with E, if its inside it's trigger. Then I want to throw them, with a rigidbody and collider, depending on player speed. The main thing here is that I cannot attach my grenade to the player if it has a rigidbody. Any thoughts on how to mess with grenade pick up, thrown and colliding?
Comment
Your answer
Follow this Question
Related Questions
Get axe/arrow to stick to object 0 Answers
Script to enable Firing 1 Answer
How to check if player collides with trigger? 0 Answers
OnTriggerEnter and -Exit not getting called 1 Answer
2D Collider Trigger cutoff at walls? 1 Answer