dongju.jeong Posted March 22, 2019 Share Posted March 22, 2019 When Test by Hemu, I got "255" for component state value. (in ComponentPacket of LandingGears, LightAircraftController......) What does the value of this component state mean in general? I read Cigi's document but I didn't understand it. Link to comment
morbid Posted March 22, 2019 Share Posted March 22, 2019 Hello, A component can work with State or with Data values. We're currently using Component-Specific Data. The state is some pre-defined value. For instance, landing gears can have two states: deployed and retracted. Quote What does the value of this component state mean in general? The value in the selected field controls the value of a property as described here: https://developer.unigine.com/en/docs/2.7.3/ig/properties_setup Are you experiencing some problems with this? Thanks. 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
dongju.jeong Posted March 25, 2019 Author Share Posted March 25, 2019 (edited) I understand. thank you. Data1~6 parameter type can be only Basic data type(int,float...)??? can't be type such as vector? Edited March 25, 2019 by dongju.jeong Link to comment
cash-metall Posted March 25, 2019 Share Posted March 25, 2019 3 hours ago, dongju.jeong said: Data1~6 parameter type can be only Basic data type(int,float...)??? can't be type such as vector? yes, only basic data type. it`s defined in CIGI 3.3 (4-byte word) if you want send vector - use {data1,data2,data3}. state in ig_config.xml was written for example settings only. You can write your custom components using state. Link to comment
Recommended Posts