Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pipeline that bends
#7
Hi!

(17-06-2025, 12:02 PM)5G_Zendmast Wrote: In ObiRod Component I've ticked Surface-based collisions
[...]
But theres this curve in the pipe that I can't seem to get less (see one of the attachments).
[...]
Another thing i noticed is that the section at the beginning is very gittery and jumps, is this because the pipe is on a slope and its trying to "slide down" but cant move because of the connection point?

You've likely attached the end of the pipe inside of or slightly intersecting a collider. As a result, the pipe tries to get out of the collider but it can't since it is attached to it, so it bends upwards - which is the direction most likely to get it outside of the collider.
Jittering/jumps happen simply because its physically impossible to simultaneously be inside a collider (which is what the attachment wants) and outside of it (which is what collision detection wants), so it alternates between being inside and outside.

This situation along with the solution (set up proper collision filters to avoid the end of the pipe to collide) is explained in the manual, see "attachments inside colliders":
https://obi.virtualmethodstudio.com/manu...ments.html

Note that also slightly moving the attachment point so that the pipe does not intersect the collider would also work as it circumvents the issue entirely, as long as it's ok to adjust the attachment point in your case.


(17-06-2025, 12:02 PM)5G_Zendmast Wrote: Since the pipe wont float I tried to mimic this by putting a plane slightly below the water and disabling the mesh renderer so when the pipe is pulled into the water its half submerged (which is what it should look like)

Sounds a bit hacky to me, imho force zones would be a better solution. A directional zone that applies an upwards force to the rope when submerged would do the trick. You can use the zone's falloff to get more force the deeper the rope is submerged, resulting in proper buoyancy simulation. You also get other goodies for free, like damping when inside the water.

let me know if you need further help,

kind regards
Reply


Messages In This Thread
Pipeline that bends - by 5G_Zendmast - 16-06-2025, 01:34 PM
RE: Pipeline that bends - by chenji - 16-06-2025, 01:47 PM
RE: Pipeline that bends - by josemendez - 16-06-2025, 01:55 PM
RE: Pipeline that bends - by 5G_Zendmast - 16-06-2025, 02:17 PM
RE: Pipeline that bends - by josemendez - 16-06-2025, 02:25 PM
RE: Pipeline that bends - by 5G_Zendmast - 17-06-2025, 12:02 PM
RE: Pipeline that bends - by josemendez - 17-06-2025, 12:11 PM
RE: Pipeline that bends - by 5G_Zendmast - 17-06-2025, 01:19 PM
RE: Pipeline that bends - by chenji - 17-06-2025, 01:36 PM
RE: Pipeline that bends - by josemendez - 17-06-2025, 01:49 PM
RE: Pipeline that bends - by 5G_Zendmast - 17-06-2025, 02:06 PM
RE: Pipeline that bends - by josemendez - 17-06-2025, 02:07 PM
RE: Pipeline that bends - by 5G_Zendmast - 03-07-2025, 02:00 PM
RE: Pipeline that bends - by josemendez - 04-07-2025, 09:52 AM