21-05-2021, 02:56 PM
(21-05-2021, 08:44 AM)josemendez Wrote: In this case I think it is justified to perform a distance check prior to generating the rope. Then adjust the rope resolution, or warn the user that he's about to create a really long rope and either disallow it or bring the distant point closer to the camera's near plane. You could also just limit the raycasting distance to a reasonable value.
I guess. But when given the choice between limiting the player, or allowing the player to do more but shaping the tech to hold up to the player's abuse, I'd take the latter route if it is technically feasible. Which it is in this case.
That being said, it was easy enough to implement on my own, so no sweat. Good thing we get source code access! (Unlike a certain other software suite...)