use another main.cpp communicate with Bullet

Post Reply
RolandZhu
Posts: 1
Joined: Mon May 01, 2017 11:05 pm

use another main.cpp communicate with Bullet

Post by RolandZhu »

Hi,

I'm now working on a research project which requires me to use another main.cpp communicate with Bullet. I have already compiled the code with Xcode and get an App_ExampleBrowser which I can use the mouse to click and drag the rope I designed. And the next step I want to do is run another main.cpp simultaneously which require a matrix stands for the current state of the rope from the App_ExampleBrowser as an input and output another matrix as a force to the rope in Bullet. However, I have no idea about how to do this, may I ask for a piece of advice about how to achieve this? And also how to use another main.cpp control the Bullet. I have tried to generate a button which will read the matrix from a .txt and write the state matrix to the same .txt but it's too slow.

Thank you.
Attachments
The rope in App_ExampleBrowser.
The rope in App_ExampleBrowser.
屏幕截图 2017-05-01 16.33.29.png (73.72 KiB) Viewed 3133 times
Post Reply