- Home /
Dragging ONE rigidbody
Okay, so I am making a game very similar to Amnesia: The Dark Descent (except, different storyline, place, time setting, etc etc) and I put the built in drag rigidbody script onto the player. Works great. One problem, which bugs the heck out of me, which is that it grabs ALL of the rigidbodies around it, not just it. So, I am stuck with grabbing all rigidbodies instead of one object, I am also a very horrible scripter, can anyone provide me help with this issue, without telling me how to adjust the script or something? Thank you.
-Joey
Just code some kind of 'lock' into it- a flag that is activated as soon as it grabs one thing, and disables upon release! I can't give you specifics, since I don't even know what the script you are using looks like.
If you want to make any kind of complex game mechanics at all, at some point you are going to have to bite the bullet and become good at scripting. There's no way around it. If you're bad now, it's just because you haven't practiced enough!
Answer by BigBlob · Apr 07, 2012 at 06:28 PM
Maybe you should add gameObject.FindWindTag("BlahBlahBLah");
some where in the script.
Felipe
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Spaceship physics - adding resistance 2 Answers
How can I make character become a ragdoll with isKinematic? 1 Answer
How to keep rotation from switching between - and + after a 360? 0 Answers
Problem with Rigidbody Parent/Child Relationship with "Teeter Totter" 0 Answers