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

Is there a function to remove the appendAnchor's points . #307

Open
Coder-345 opened this issue Jun 13, 2020 · 1 comment
Open

Is there a function to remove the appendAnchor's points . #307

Coder-345 opened this issue Jun 13, 2020 · 1 comment

Comments

@Coder-345
Copy link

I appended my cloth to the arm by using

SoftBody.appendAnchor( 0, arm.userData.physicsBody, false, influence );
SoftBody.appendAnchor( clothNumSegmentsZ, arm.userData.physicsBody, false, influence );

But I also need to switch between anchoring the cloth and removing the cloth from the arm just like the one in this example : https://threejs.org/examples/webgl_animation_cloth.html
Here there is an option to toggle pins.

Is there any function to remove the anchor points
something like removeAnchor() ;

@Coder-345 Coder-345 changed the title Is there a function to remove the appendanchor's points . Is there a function to remove the appendAnchor's points . Jun 13, 2020
@sdarpeng
Copy link

sdarpeng commented Oct 1, 2023

I am wondering it too.

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