Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Freezing a rope on runtime
#3
(28-01-2021, 10:16 AM)josemendez Wrote: Hi there!

If I understood correctly, you're swapping the simulated rope for a baked mesh. The rope is attached to an object, and while the rope is "frozen" the object moves around but the rope does not follow it, correct?

The solution depends on whether you're using a static or a dynamic attachment. Static attachments work just like a parent-child relationship, so in that case you should be good by simply parenting the frozen rope mesh to the object it's attached to.

However if the attachment is dynamic, the object will be able to react to forces applied to the rope (think a ceiling lamp suspended from a cable). In this case you need the simulation to continue in order for the object to keep its current position, because once the rope is frozen the simulation will cease to apply any forces to the object and it will be free to move.

let me know if this helps Sonrisa. kind regards,

Works like a charm, thanks a lot! I had one side statically and the other dynamically attached. Changed them both to static attachments (they didn't have to be dynamic after all  Lengua ) and parented the rope to the object.

I have 6 ropes attached to that object and it turns out it saved me about 45 fps on average. That might mean I have other issues regarding optimization, could you point me to a resource for that?
Reply


Messages In This Thread
Freezing a rope on runtime - by Jesse - 28-01-2021, 10:00 AM
RE: Freezing a rope on runtime - by josemendez - 28-01-2021, 10:16 AM
RE: Freezing a rope on runtime - by Jesse - 28-01-2021, 11:41 AM
RE: Freezing a rope on runtime - by josemendez - 28-01-2021, 11:54 AM