Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Intertwining of ropes in Obi Rope
#3
(19-07-2024, 08:51 AM)josemendez Wrote: What kind of "force" are you referring to (external force, AddForce(), moving the rope using a transform, etc)? how and when are you applying this force?

public void Swerve(Vector3 targetPos, float speed)
{
    Vector3 newPos = Vector3.MoveTowards(selectedGO.transform.position, targetPos, speed * Time.fixedDeltaTime);
    myRigidbody.MovePosition(newPos);
...
}

Here is the code that I am moving my ball. By the way, I am calling this method from FixedUpdate.

I have added ObiRigidbody to my rope but thanks to your advice I have removed both ObiRigidbody and Rigidbody. But still having same problem.

Also how can I get trigger detection with other box colliders with trigger checkbox on?
Reply


Messages In This Thread
Intertwining of ropes in Obi Rope - by mayktr - 18-07-2024, 11:19 PM
RE: Intertwining of ropes in Obi Rope - by mayktr - 19-07-2024, 06:04 PM