Hi there,
I went through the documentation and forums while trying to find implementation or any example of creating logic like cut the rope game. I found an example
But how does this work in making a cut based on swipe made on screen by the player ?
	
	
	
	
I went through the documentation and forums while trying to find implementation or any example of creating logic like cut the rope game. I found an example
Code:
if (Input.GetKeyDown(KeyCode.A))
        {
            Obi.ObiRope rope = GetComponent<Obi.ObiRope>();
            rope.DistanceConstraints.RemoveFromSolver(null);
            rope.BendingConstraints.RemoveFromSolver(null);
            rope.Tear(10);
            rope.BendingConstraints.AddToSolver(this);
            rope.DistanceConstraints.AddToSolver(this);
            rope.BendingConstraints.SetActiveConstraints();
            rope.Solver.UpdateActiveParticles();
        }But how does this work in making a cut based on swipe made on screen by the player ?

 
 

 

