Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joints with rigidbody and gravity #2

Open
rosostolato opened this issue Mar 28, 2020 · 0 comments
Open

Joints with rigidbody and gravity #2

rosostolato opened this issue Mar 28, 2020 · 0 comments

Comments

@rosostolato
Copy link

I have a part with a hydraulic cylinder in swing. When unity is not running, the cylinder case moves synced with the cylinder itself, but when unity runs and physics start to work, it loses its sync.

It's hard to explain in text, so here is a gif of what is happening:
ezgif-4-1df3fe3bbb1b

As you can see, the swinging cylinder is using rigidbody with hinge joint because I need it to respond to gravitiy, it needs to extend and retract the piston automatically when is forced by gravtity.

So my question is: is there a way to work with joints and gravity to make a "swingable rocker hinge"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant