Quantcast
Channel: Questions in topic: "rope"
Viewing all articles
Browse latest Browse all 194

Translating a gameObject with a Hinge joint?

$
0
0
Hello, I am having a problem in translating a gameObject with a character joint. The following is my set up: An empty gameobject which is the parent to capsule segments with character joints except the top segment has a hinge joint. My hinge joint has no connected body to it. A picture is attached to show what I mean.(Its a rope) ![alt text][1] Then in my script I have the following line: Translate(0,Rate*Time.deltaTime,0,Space.Self); I have done this on a lot of other game objects and it works perfectly fine, but none had a Hinge joint. When I apply the script to this specific case the gameobject jitters up and down as if something is preventing it from moving. In this case I think it is the Hinge joint. Note that all the capsules are rigid bodies. How can I solve this issue? If I cannot use translate for a hinge joint then what should I use? Any help is appreciated. Thank you very much. [1]: /storage/temp/12976-rope.png

Viewing all articles
Browse latest Browse all 194

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>