Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Only render ropes
#9
(11-03-2021, 04:37 PM)josemendez Wrote: Disabling it in editor will prevent the mesh from even being generated, so that's expected behavior.


The data flow is: particles (ObiActor)->smoothed curve (ObiPathSmoother)->updating the mesh(ObiRopeExtrudedRenderer). To update the mesh, the renderer uses points from the smoothed/decimated curve, not particle positions directly.

At the very least you'll need to call the ObiPathSmoother's GenerateSmoothChunks() method, followed by the renderer's UpdateRenderer() method.

cheers!

Awesome, thanks a lot!
Reply


Messages In This Thread
Only render ropes - by Jesse - 11-03-2021, 09:30 AM
RE: Only render ropes - by josemendez - 11-03-2021, 12:00 PM
RE: Only render ropes - by Jesse - 11-03-2021, 02:07 PM
RE: Only render ropes - by josemendez - 11-03-2021, 02:47 PM
RE: Only render ropes - by Jesse - 11-03-2021, 03:00 PM
RE: Only render ropes - by josemendez - 11-03-2021, 03:52 PM
RE: Only render ropes - by Jesse - 11-03-2021, 04:15 PM
RE: Only render ropes - by josemendez - 11-03-2021, 04:37 PM
RE: Only render ropes - by Jesse - 11-03-2021, 04:43 PM
RE: Only render ropes - by Jesse - 12-03-2021, 11:17 AM
RE: Only render ropes - by josemendez - 12-03-2021, 11:25 AM
RE: Only render ropes - by Jesse - 12-03-2021, 02:41 PM