Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dragging the edge of a rope
#1
Hey there,

I'd like to be able to have the edge of a rope move as the user drags the mouse cursor.

I tried doing this with a blueprint but I had two issues:

1. The blueprint got permanently changed.
2. The effect wasn't visible in the game in real-time, instead it was just visible in the editor, and the next time I ran the game.

Am I missing something? Is there a better way?

Here's the relevant code segment: 
Code:
ObiWingedPoint point = rope.ropeBlueprint.path.points[0];
point.position = worldMousePosition;
rope.ropeBlueprint.path.points[0] = point;

Many thanks.
Reply


Messages In This Thread
Dragging the edge of a rope - by Sanppy - 22-12-2021, 12:00 PM
RE: Dragging the edge of a rope - by josemendez - 22-12-2021, 12:08 PM
RE: Dragging the edge of a rope - by Sanppy - 22-12-2021, 04:45 PM
RE: Dragging the edge of a rope - by Sanppy - 23-12-2021, 04:42 PM
RE: Dragging the edge of a rope - by Sanppy - 23-12-2021, 06:32 PM