Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can you read and set rope data? for multiplayer purposes.
#2
(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,
Reply


Messages In This Thread
RE: Can you read and set rope data? for multiplayer purposes. - by josemendez - 18-11-2022, 08:31 AM