27-02-2023, 09:29 AM
(This post was last modified: 27-02-2023, 09:32 AM by josemendez.)
(24-02-2023, 08:21 PM)Zombie1111 Wrote: I think the issue may be that I must call one of the functions in the pathsmootherscript manually? Because non of them gets ever called (Except for the onEnable/onDisable when I enable/disable the script)
Yes, you need to call GenerateSmoothChunks() passing an an array of positions instead of an ObiRopeBase instance as indicated in my previous post. If you want to trigger a renderer update too, you should also call the OnCurveGenerated() event.
See how both are usually called in the Actor_OnInterpolate() callback, as a response to the actor -rope in this case- finishing interpolating physics state.
(24-02-2023, 08:21 PM)Zombie1111 Wrote: This is what the two functions looks like now
Both look fine at first glance.
Let me know if you need further help,
cheers!