Amerio.Stephane Posted June 6, 2018 Posted June 6, 2018 Hello, My CIGI slaves don't show rolls from the master. Heading and pitch is ok. I tested with the most simplistic code possible, based on the new cigi template from 2.7.1. Did I miss something?
morbid Posted June 7, 2018 Posted June 7, 2018 Hello Stephane, I assume you're talking about camera roll, right? Can you share a sample with us or code you're using for CIGI logic? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Amerio.Stephane Posted June 7, 2018 Author Posted June 7, 2018 Yes, I'm talking about camera roll. The AppSystemLogic/AppWorldLogic are exactly the one found in the new minimalistic cigi template. Both slave and master are showing the same view ID (0). On the Host side, I tested with the Hemu emulator.
alexander Posted June 7, 2018 Posted June 7, 2018 Hi, It depends on the type of the player. PlayerSpectator and PlayerPersecutor ignore roll. Try to change "Player player = new PlayerSpectator();" in your UnigineScript .cpp file (data/world_name.cpp) to "Player player = new PlayerDummy();". It is a bad design of the Syncker. It doesn't change the player type on the slaves. So, if you have PlayerDummy on the Master, but you have PlayerSpectator on the Slave, it can lead to "roll" problem. Best regards, Alexander
Amerio.Stephane Posted June 11, 2018 Author Posted June 11, 2018 Hi, this worked ! Thank you. I think at least a note should be added in the doc of the Syncker and a warning in the doc of the Player*.
morbid Posted June 13, 2018 Posted June 13, 2018 We'll add these notices in our documentation, thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
fox Posted June 14, 2018 Posted June 14, 2018 Hi Stephane, Glad to inform you that Syncker's camera synchronization has improved. Now Slaves always use PlayerDummies and camera's hierarchy is taken into account. Improvements will be available in the upcoming 2.7.2! So, the "roll" problem should be solved. Thanks!
Recommended Posts