Open RoundedIcon opened 9 years ago
I do know that Steve managed to solve this with some sort of order-of-operations fix - the order in which stuff is created, mounted, etc., I thought. Will investigate and see if this is something we can fix in code, or if we just have to make sure the documentation is there.
If you spawn the ribbons with the object you shouldn't get stepping. If you do then I'd suggest that you've got a net or lag issue somewhere. I've only tested ribbons in Release and haven't tried ribbons in debug because I find debug slow and laggy to work with. Check which build version you're using.
I played around with ribbons a bit more and noticed that setting skipAmount to a number around 4 got rid of almost all stepping behavior. If they are supposed to work with skipAmount = 0 however, ribbons still have problems in the latest dev branch no matter what way I add them.
Tested out Steve's ribbon resource. The glow makes it hard to see, but the stepping is there as well. The above test was conducted with a 32bit release build of the dev branch synced 5 days ago, and this test was done with that same branch with the ribbon code replaced with the resource version.
Setting the skipAmount to something over 3 has the same affect as before, but I do not know if that is the intended way to use it or just a way to hide the problem.
http://i.imgur.com/3p9hgas.png Ribbons will have the stepping behavior shown above when mounted to a vehicle or rigidshape.
Code to reproduce issue (modified from Steve Acaster's resource): in game\scripts\server\cheetah.cs in the onAdd function