Val_V6 0 Posted March 14, 2021 Hello, I'd like to create a link between MATLAB and ARMA 3 such that they can exchange data for boat dynamic visualization. In particular, I want to send from MATLAB to ARMA 3 the linear and angular accelerations/speeds/positions of the boat model run in MATLAB and receive in MATLAB from ARMA 3 waves and impact forces. Is it possibile? eventually how? I didn't find any topic about this. I know that this is possible with tools such that Unreal Engine but I think that ARMA has all the built-in environment I need. Share this post Link to post Share on other sites
Jackal326 1181 Posted March 15, 2021 On 3/14/2021 at 12:39 PM, Val_V6 said: [...] I didn't find any topic about this [...] There is probably a reason for that i.e. its not possible. At least not as far as I'm aware. Share this post Link to post Share on other sites
Sparker 185 Posted March 15, 2021 Hi! How does Matlab generally connect with something else? Through TCP? Or through a named pipe? I am pretty sure that it can use either of these. You can't access any of these through SQF natively, but you can write an extension which exposes these interfaces to SQF. Or you can do it with Intercept. Info on extensions:https://community.bistudio.com/wiki/Extensionshttps://community.bistudio.com/wiki/callExtension Info on Intercept:https://github.com/intercept/intercept I'd go the extension way, it's extremely easy. Only disadvantage - you will have to convert numbers to text, but it's quite simple. You can write an extension in C++ or C#. Now about the simulation part, I am not sure that you can get a lot of information about waves and impact forces at all. These commands are all what is available to you:https://community.bistudio.com/wiki/Category:Arma_3:_Scripting_Commands Share this post Link to post Share on other sites
NightIntruder 710 Posted March 15, 2021 Perhaps worth giving a shot: Not sure about the waves, but forces acting on an entity (for example boat) can be read from GForce related animation sources, I guess: https://community.bistudio.com/wiki/Model_Config#Animation_sources If the waves in-game are produced by both wind direction and strength, then these two variables can be read and the correlations between all factors could be calculated, eventually. But scripting nor programming isn't my thing, so pls don't cite me on that 😉 Share this post Link to post Share on other sites