Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi 7:Modify Constraints / Reset skinned cloth in runtime
#2
Hi!

In most architectures memory isn't shared between the CPU and the GPU, you need to upload your data to the GPU. This is done by calling Upload() on the ObiNativeList (skinRadiiBackstop in the above code) after modifying its contents.

The manual explains this in the context of particle data arrays, but didn't in the context of constraint data arrays. We've updated the documentation to reflect this, by adding a short section after the above code snippet.

thanks for bringing this to my attention!

kind regards,
Reply


Messages In This Thread
RE: Obi 7:Modify Constraints / Reset skinned cloth in runtime - by josemendez - 07-08-2024, 08:51 AM