18-11-2022, 08:31 AM
(18-11-2022, 03:05 AM)Milionario Wrote: I am developing a server auth multiplayer game and I need to send rope data to clients to render the rope locally, is this possible?
Hi there,
Yes it's possible, you can read and write all per-particle properties at runtime. See the scripting section of the manual:
http://obi.virtualmethodstudio.com/manua...icles.html
Your server should send "snapshots" of the rope as an array of particle positions and velocities. Each time the clients receive the snapshot, write these into their solver data arrays to sync the simulation.
kind regards,