Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Problems extending rope
#8
Was your issue solved, because I'm having the same issue.
I set the pool to 1024, but once I try to change the length, it gets reset to 256 (a value which I had set it to before)
Iv'e re-initialized the rope after changing, re-imported the asset pack, rested my machine, everything, but it ALWAYS gets reset.

Code:
if (Input.GetAxis(axis) != 0f)
{
     float input = Input.GetAxis(axis) * 1f;// (Mathf.Abs(Input.GetAxis("RIGHT_ROTATION")) + 1);
    ropeLength -= input * reelSpeed * Time.deltaTime;
    cursor.ChangeLength(ropeLength);
    rope.uvScale.y = ropeLength / 4f;
    cursor.normalizedCoord = 0.5f;
}


This is the ONLY code where the rope is accessed AT ALL. Nowhere in the rest of the project is the rope ever referenced.

Edit/ Update: re-initializing doesn't do anything anymore. I copied the rope and re-initialized it, and it kept the 1024 pool (yay!) I reinitialized the original one, nothing changed. Still had the small pool, still had the pin constraints, it just didn't do anything...
Reply


Messages In This Thread
Problems extending rope - by Butter1484 - 16-06-2018, 02:28 AM
RE: Problems extending rope - by josemendez - 16-06-2018, 11:58 AM
RE: Problems extending rope - by Butter1484 - 17-06-2018, 12:02 AM
RE: Problems extending rope - by josemendez - 18-06-2018, 09:37 AM
RE: Problems extending rope - by Butter1484 - 18-06-2018, 09:09 PM
RE: Problems extending rope - by josemendez - 20-06-2018, 08:04 AM
RE: Problems extending rope - by Butter1484 - 20-06-2018, 09:49 PM
RE: Problems extending rope - by Mouledoux - 31-01-2019, 06:42 PM