|
Hello, How would I go about syncing particles in a ray-casting script? The ray-casting script detects where the it was hit and then creates a particle there. How would I sync the particles with multiplayer? Thanks for the help!
(comments are locked)
|
|
If you want to synchronise bullet hits on walls, all you have to do is manage the raycasting on one machine, and then upon hits send a message with the position and normal of the hit to all the other clients! If there's other behaviour you want to synchronise (like damage, knockback etc) you can use the same technique for that as well. Thank you so much! You guys are great!
Jan 16 '12 at 06:39 AM
twoface262
(comments are locked)
|

Particles and particle emitters are a purely graphical element to the system. I rather suspect you will find there is no way to synchronise their behaviour over multiple machines, as the varying graphics and CPU capability of each machine will cause variance in their display anyway.
Well, is there a way that I can create an emitter on at the same point on the other persons client. I don't care if the particles themselves sync perfectly I just want them to be on the other persons screen.
Well, that's easy. Do you know how to send RPC calls?