Closed YuhaoCheng closed 4 years ago
Thank you for your question. We have released VehicleX source code include the unity python interface in https://github.com/yorkeyao/VehicleX/tree/master/Unity%20Source
Thank you for your question. We have released VehicleX source code include the unity python interface in https://github.com/yorkeyao/VehicleX/tree/master/Unity%20Source
Thanks for your answer. I have noticed this folder in your projects, while what indeed confuses me is how you just use the Python script without opening a Unity editor. I'm curious about this part. Thanks for your time.
If your question is about the exact code in the unity source to make the connection. You may check function AgentAction in the PosAgent.cs.
Thanks for your time. However, I can't find the PosAgent.cs
in this project. Would you mind telling me where I can find this file?
It is located in Assets/Scripts/PosAgent.cs. BTW you can always look up a file by search in the unity editor.
OK. I will check this file and figure out whether it can help me solve this question. Thanks a lot.
Thanks for your brilliant work. Would you mind sharing the code of the python interface? I want to know how to control Unity by using Python. Thanks. If you think uploading the codes isn't convenient, you would send me the email. Thanks a lot.