![]() |
|
Help Pre-purchase: Four 60m fishing lines colliding with a moving boat and thin railings - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Help Pre-purchase: Four 60m fishing lines colliding with a moving boat and thin railings (/thread-4667.html) |
Pre-purchase: Four 60m fishing lines colliding with a moving boat and thin railings - msra9my6 - 21-11-2026 Hello, I'm considering purchasing Obi Rope for a 4-player cooperative fishing game. Before buying, I would appreciate your advice on whether the following use case is practical, particularly regarding collision reliability and performance. Project: - Unity 6000.0.85f2, URP, Windows PC. - Up to four fishing lines active simultaneously. - Each line can extend up to 60 metres, with runtime payout and reeling. - A moving boat affected by ocean buoyancy. - Multiplayer is planned, but not implemented yet. I am considering host-authoritative rope simulation. Required behaviour: One end of each line follows the player's fishing rod, while the other follows an underwater fish. The fish can swim around and underneath the boat. For example, a player casts from the stern, then the fish swims underneath the hull towards the bow. The line should make contact with the stern railing and hull, bend around their surfaces, and slide along them as the player or fish moves. My current custom particle-based rope sometimes passes through thin railings when moved around, and its contact points can jitter. These are the main reasons I am considering Obi Rope. My questions are: 1. Unity version compatibility Are there any known compatibility issues with Obi Rope 7.2 on Unity 6000.0.85f2 with URP? I noticed that the Asset Store lists 6000.0.82 as the original Unity version. I understand that the included sample materials may need conversion to URP. 2. Thin railings and hull collisions Would surface collisions be an appropriate solution for this scenario? What are the practical limitations when a long, thin rope slides over railings only a few centimetres thick on a moving boat? I can use simplified compound colliders and a collision thickness larger than the visible fishing line. I do not need physically accurate sub-millimetre line thickness. 3. Four long ropes Is simulating four 60m ropes a reasonable target for a real-time game aiming for 60 FPS, while leaving time for ocean rendering and other gameplay? My current development PC has an i7-13620H, RTX 4050 Laptop GPU and 16 GB RAM. I understand that exact performance requires testing, but would appreciate a recommended starting point for backend, particle spacing, substeps and collision settings. Would surface collisions allow relatively coarse particle spacing while still catching thin railings, or would this require very high particle counts along the entire line? 4. Payout and reeling while in contact Can ObiRopeCursor extend and shorten a rope while it is wrapped around the boat, without frequently losing contacts or producing large stretching/jitter? Are there important restrictions or recommended examples for this? 5. Multiplayer For a host-authoritative setup, is there a recommended way to synchronize the rope's visual state to clients without running matching deterministic simulations on every machine? I understand that networking integration would be my responsibility. 6. Future interactions Eventually, I would like a taut line to push or trip another player, and a very large fish to pull or potentially capsize the boat. Can contact/attachment forces be accessed for custom gameplay reactions, and can the rope apply forces to a Rigidbody boat? My player controller is currently kinematic, so I expect to implement the player's reaction separately. I am not expecting zero penetration under every extreme condition or a ready-made fishing system. I would like to know whether this is a suitable use case for Obi Rope, and which limitations or design compromises I should expect. If there is an existing sample, public demo or forum thread close to this scenario, a link would also be very helpful. Thank you! RE: Pre-purchase: Four 60m fishing lines colliding with a moving boat and thin railings - josemendez - 25-11-2026 Hi there! (21-11-2026, 12:37 AM)msra9my6 Wrote: 1. Unity version compatibility Not that I know of. (21-11-2026, 12:37 AM)msra9my6 Wrote: I noticed that the Asset Store lists 6000.0.82 as the original Unity version. I understand that the included sample materials may need conversion to URP. Correct, you'll need to convert the included sample scenes to URP. (21-11-2026, 12:37 AM)msra9my6 Wrote: 2. Thin railings and hull collisions Surface collisions improve for spatial sampling, which means they close gaps in between particles so that thin objects can't simply pass in between particles and miss a collision because of that. However, they don't improve temporal sampling, that is, they don't fix tunneling. CCD (continuous collision detection) should take care of that, but it's not fail-proof. So depending on what the main cause for the missed collisions currently is in your case, you may need to use surface collisions AND continuous collision detection, and even then collision constraints are not guaranteed to be met: another constraint may violate them mid-simulation, for instance, so even if the contact was correctly detected, it may not be possible to fully enforce it given the current simulation budget and the rope may pass trough the collider as a result. (21-11-2026, 12:37 AM)msra9my6 Wrote: I can use simplified compound colliders and a collision thickness larger than the visible fishing line. I do not need physically accurate sub-millimetre line thickness. Yes, when you mentioned railings I immediately thought of making the railing collider extend all the way down to the floor. Making the rope particles thicker than the rope mesh will also be likely necessary. (21-11-2026, 12:37 AM)msra9my6 Wrote: 3. Four long ropes Hard to say, as "rope length" doesn't really determine performance. How densely samples the ropes are (rope resolution, that is, number of particles per length unit) and how densely sampled time is (amount of substeps performed by the solver) determine that. Furthermore, having more particles means you'll need more substeps/iterations for constraint adjustments to propagate along the rope and prevent excessively saggy/stretchy behavior, so both settings are somewhat tied to each other. Assuming moderate settings (say 8 substeps and 120 particles per rope) there should be no problem. Should you need finer rope resolution and higher substeps - which entirely depend on your gameplay needs - the cost will increase. Then there's the question of whether you should run the simulation in the CPU or the GPU, as performance and synchronization characteristics change, and the choice largely depends on whether your game is CPU or GPU bound: for instance, if your GPU is already tasked with costly ocean simulation/rendering that takes most of the frame time, simulating ropes in the CPU could be a good idea. The only way to tell this for sure is profiling the game. (21-11-2026, 12:37 AM)msra9my6 Wrote: Would surface collisions allow relatively coarse particle spacing while still catching thin railings, or would this require very high particle counts along the entire line? Surface collisions should allow pretty coarse particle spacing. Keep in mind that the rope can only bend at the position of particles, so having less particles makes the rope "jaggier". Obi has a "smoothing" parameter to counteract this (see https://obi.virtualmethodstudio.com/manual/7.1/roperenderingmodes.html), which essentially treats particles as control points in a spline and then generates the rope mesh from the spline, instead of directly sampling particles. This however causes the visual mesh and the physical representation of the rope no longer match 1:1, so the mesh may visually clip colliders even though the rope is physically not. (21-11-2026, 12:37 AM)msra9my6 Wrote: 4. Payout and reeling while in contact ObiRopeCursor can extend and shorten the rope and should not lose contacts. However, it may jitter because it changes the discretization of the rope: when a new particle must be added (or a particle removed), the amount of constraints in the rope changes which alters convergence, and the mass of the rope also changes. This discrete changes produce a slight "jump" in the simulation that may or may not be acceptable in your case. (21-11-2026, 12:37 AM)msra9my6 Wrote: 5. Multiplayer Typically, you'd set the client solver's "max steps per frame" parameter to 0 to disallow any physics updates on the clients (but keep rendering) and then manually drive particle positions using the data reported by the host. (21-11-2026, 12:37 AM)msra9my6 Wrote: I understand that networking integration would be my responsibility. Correct. (21-11-2026, 12:37 AM)msra9my6 Wrote: 6. Future interactions Yes to both questions. Full two-way coupling with rigidbodies is supported, and contact forces can be accessed. See: https://obi.virtualmethodstudio.com/manual/7.1/scriptingcollisions.html (21-11-2026, 12:37 AM)msra9my6 Wrote: If there is an existing sample, public demo or forum thread close to this scenario, a link would also be very helpful. There's currently no scenarios that showcase a 60 meters long rope. In case you end up purchasing the asset to find out it doesn't actually meet your needs, let me know (by sending an email to support(at)virtualmethodstudio.com with your invoice number, or a PM here in the forums) and I'll issue a refund for you. kind regards, |