Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by TCD · Jun 24, 2016 at 05:25 PM · rigidbodyjointpull

Oneway pulling with joint

I have 2 Cubes connected by a distance joint, both objects have a rigid body. Lets call them CA and CB. If move CA 1 unit left CB gets moved 1 unit left, if i move CB one unit right CA gets moved one unit right etc. But i only want CA to be able to move CB and refrain CB from moving around while still being able to rotate about the joints position.

A more imaginable example: A tank and its turret, the tank moves with the turret, but the turret is still able to rotate without being able to pull the tank by moving.

I sadly cant disable the movent off CB/Turret because its rotation is defined by another object(CC) connected to it by a joint which is moving around. If you need it i could provide some video footage. alt text

unbenannt.png (3.9 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Eno-Khaon · Jun 24, 2016 at 06:17 PM 0
Share

To be fair, a tank's turret DOES pull the tank as it rotates. However, the body of the tank vastly outweighs the turret, so any imbalance is mitigated to the point where it's hardly apparent.

Is this a problem which could/would be solved by relative mass of component parts, or is it significant/important for the motion to have zero influence on the main body?

avatar image TCD Eno-Khaon · Jun 24, 2016 at 06:28 PM 0
Share

The example with the tanks is just so you understand the konzept better, in my game CA is a torso ,CB an arm and CC a hand. In the game you controll the hand by analogstick ,so the arm rotates because it is connected with a joint to the hand. but as it is now the hand just can pull the whole body after it. the hand uses transform.lerp, so changing weight values wont do anything. i tried using addforce on the rigidbody, but it accelerated faster and faster to the point of flying over the whole screen.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

53 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Rigidbody hinged to moving kinematic rigidbody is NOT constrained 0 Answers

Player can't interact certain Rigid Body while another rigid body can. 0 Answers

Configurable Joint just falls apart? 1 Answer

How to let a GameObject generate force but not be affected by certain forces? 0 Answers

What is the best way to Push or Pull an Object? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges