Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  When the Obi Rope is tensioned
#3
(06-07-2023, 10:03 AM)호세멘데즈 Wrote: 안녕하세요,

입자 위치/회전을 보내고 적용하는 방법에 대한 정보 없이는 많은 도움을 드릴 수 없습니다. 시뮬레이션에서 보낸 것과 동일한 한 수신 측이 동일하게 보이고 동작해야 한다고 추론할 수 있습니다.

친절한 안부,


for (int i = 0; i < actor.solverIndices.Length; ++i)

        {
rope.solver.externalForces[actor.solverIndices[i]] = otherRope.solver.externalForces[actor.solverIndices[i]];
rope.solver.externalTorques[actor.solverIndices[i]] = otherRope.solver.externalTorques[actor.solverIndices[i]];

rope.solver.positions[actor.solverIndices[i]] = otherRope.solver.positions[actor.solverIndices[i]];
rope.solver.velocities[actor.solverIndices[i]] = otherRope.solver.velocities[actor.solverIndices[i]];

        }


In this way, the position and rotation values are passed.

The 'otherRope' is the rope that gives the value, and the 'rope' is the rope that receives the value.

Even if i pass an External Forces and an External Torques, when tension is applied, the rope that receives the value does not move the same as the rope that gives the value.
Reply


Messages In This Thread
When the Obi Rope is tensioned - by EunBhin Park - 06-07-2023, 08:45 AM
RE: When the Obi Rope is tensioned - by EunBhin Park - 06-07-2023, 10:16 AM
RE: When the Obi Rope is tensioned - by fevzi - 27-09-2023, 05:17 PM