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

Non-rigid pivot constraint #275

Closed
KrisKlip opened this issue Jul 13, 2016 · 2 comments
Closed

Non-rigid pivot constraint #275

KrisKlip opened this issue Jul 13, 2016 · 2 comments

Comments

@KrisKlip
Copy link

Hi, I am working with objects that are constrained to and rotate around specific pivot points in the world.
Constraint.create({pointA: { x: 400, y: 400 }, bodyB: circleBody, length: 0.01, stiffness: 1 })
I seem to be having an issue where when there is a collision or stress on the object that the constraint between the object and pivot point stretches and acts like a strong spring. What I am going for is a completely rigid pivot constraint that keeps the constrained object at the same point regardless of collisions or pulling stress. Is there a way to get rid of all of the elastic properties of the constraint?
I currently have stiffness = 1 and length = 0.01 for all constraints.

Thanks for an amazing engine!

@liabru
Copy link
Owner

liabru commented Jul 13, 2016

See issues #139 and #71, I think these are what you are asking for? If so please +1 them. These are high priority so I will be working on them when I've finished #213 and #5.

@liabru
Copy link
Owner

liabru commented Jul 18, 2016

Closed as #139 covers this.

@liabru liabru closed this as completed Jul 18, 2016
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

2 participants