I'm using Cigi HostEmulator to integrate CIGI collision detection segment definition/notification functionality.
Here are the steps I did:
1. Send an EntityControl package containing Collision Detect set to true to Prepar3D.
2. Send the collision detection segment definition package to Prepar3D;
3. Use the virtual stick on HostEmulator to control the plane to fly and hit the building.
Result: Prepar3D prompted Crashed, but did not send the ColDetSegNot packet (the packet could not be caught through Wireshark).
I've made sure I've modified the following in CigiConfig.xml:
EnableCollisionDetectionSegment=1
EnableCollisionDetectionVolume=1
What did I miss?
Prepar3D v5 can't send ColDetSegNot CIGI package
Re: Prepar3D v5 can't send ColDetSegNot CIGI package
Sorry, I found that wireshark recognized the CIGI packet as the ADP protocol.
When I turned off the ADP protocol in wireshark, I was able to receive the Collision Detect Segment Notification packet.
But I discovered another problem. My aircraft did not collision with other entities or terrain, but why did I continue to receive Collision Detect Segment Notification packets?
When I turned off the ADP protocol in wireshark, I was able to receive the Collision Detect Segment Notification packet.
But I discovered another problem. My aircraft did not collision with other entities or terrain, but why did I continue to receive Collision Detect Segment Notification packets?