Gues it is the right place, updated the script to this and the entitys are now facing East, ill update this as i work it all out for others public virtual void UpdateEntity( EntityState es ) { State = es; Quaternion quaternion = Quaternion.Euler((float)0.0, (float)90.0, (float)0.0); // TODO: Smoothing // Update our position transform.position = ExerciseManager.Instance.WorldCoordinateConverter.RemoteToLocal( es.Location.X, es.Location.Y, es.Location.Z ); transform.rotation = quaternion; }
Hi again, I have Dis now coming into my terrain based on Salisbury Plain UK. however all the units are orientated North. I guess this part is not yet implemented yet? Ive looked into RemoteEntity.cs and found where it updated the location, is thiswhere there orientation would also be updated? lastly where would I have to start looking to include Fire and Det Pdus? many thanks. Spriggsy
I believe it was because it was finding either a bluetooth adapter or a Tap device that was not set up correctly. on disabling all unneeded devices it worked straight away. many thanks for the link, it put me in the right track Spriggsy
Something is going null. It looks like it may be something like this https://stackoverflow.com/questions/901165/why-does-unicastipaddressinformation-ipv4mask-return-null-on-an-ipv4-address/26632222
Hi, Im trying to connect your demo scene to my network however its not seeing any data. The error that is being shown is as follows NullReferenceException: Object reference not set to an instance of an object DISUnity.Network.Connection.IsValidBroadcastAddress (System.String address) (at Assets/DISUnity/Network/Connection.cs:537) DISUnity.UI.ConnectionEditor.DrawWindowContents (Int32 id) (at Assets/DISUnity/UI/ConnectionEditor.cs:151) UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction...
Hi. There is an example scene with a world which does get some entities to show up. I was undecided on the best way to handle this, if it should just be a network library or if it should also handle creating entities in the world. At the moment its mainly a network library with an example of doing the entities in the world. The problem with handling the entities is its hard to know where in the scene they should go. What coordinate system you are using, the scale, Is there a terrain etc? The example...
Hello, first off thank you for working on this project. I am trying it out and I'm not sure what to do to get started, please pardon my ignorance. I have a simulator which uses either DIS6 or DIS7. I set the exercise id, site id and application number, and the filters allowed exercise id, then clicked play in the Unity editor. When it starts up, in the network box, I subscribe to the multicast 224.3.0.0, which is what the simulator is running on. But not sure what to do after that. It shows the Connection...
(Apologies, I wasn't logged in when I posted, that's me ^)
Hello Karl, Good to know that further improvements are being considered. I assume the package manager compatiblity will force it to jump into Unity 2017 as the minimum required version?
Hi, Sorry I have not replied. Im away at Unite Asia so its a bit hectic. I do want to make improvements including DIS 7 support. Im waiting for the new package manager stuff so I can convert it into a package. There is no other DIS integration that I know off, the MAK stuff seems to have disappeared.. I dont think they had much interest in it so discontinued it. Open-dis has a c# version so in theory you could use that but it would have no Unity specific code. So it really depends on what you want...
Thanks for the feedback. We are looking at multiple options but as you know, it's hard to get insight information such as yours without actually paying for some of those solutions. It's appreciated.
FWIW, MaK has (or had) a Unity plugin for VRLink that we tried several years ago. (Right around the time Unity 5 rolled out.) https://www.mak.com/learn/blog/entry/vr-link-for-unity https://www.mak.com/news-and-events/news/524-vt-maek-announces-launch-of-dis-and-hla-interoperability-module-for-unity-game-engine.html We abandoned it because it was VERY expensive and didn't work very well. I wouldn't recommend it based on our experience, but it may be more mature now if it still exists. It wasn't very...
Hi Karl, Thank you very much for making this and your continued work on KDIS. We are looking at using this plugin for our Unity-DIS implementation but are wondering if you had plans for continued support, Unity 2017-18 integration or updating for DIS v7? Or, if you have recommendations for alternatives that you know of that would be better suited for Unity? Cheers.
Oh I see. I did start with 4 but I have switched to 5.0 for some features such as...
Karl, Sorry! I meant which version of Unity is this project meant to be used with?...
Hi, At the moment it mainly supports DIS 5 with core PDU but I do plan on adding...
Hi, At the moment it mainly supports DIS 5 with core PDU but I do plan on adding...
Karl, I was wondering if there was a certain version of Unity that this tool is meant...
Cleaning up. refactoring
JSON support for entity mapping
Fixed some comparison bugs
Started work on a PDU generator tool
Thanks. sounds good :)
Hmm thats strange. Ill fix it now. Thanks! Oh it was fixed in March but on a different...
Fixed missing decode for z on world coordinates.
Hmm thats strange. Ill fix it now. Thanks!
Hey Karl, For some reason it looks like its only reads x and y and not z. public...
Hey Karl, For some reason it looks like its only reads x and y and not z. public...
Hey Karl, For some reason it looks like its only reads x and y and not z. public...
Hi Patrick, Looks like I had a stray using UnityEditor in BroadcastAddressAttribute.cs....
Removed using UnityEditor from BroadCastAttribu...
Karl, I have a different question. When I run inside of unity, I am able to run as...
Hi Patrick, I have not attempted dead reckoning in Unity yet. How are you trying...
Karl, I've been experimenting with unitydis. I'm able to set the position of my entity...
Fixed WorldCoordinates not serializing z field
Merge remote-tracking branch 'origin/vdevelop'
Fixed some merge issues.
Started work on VariableDatumPropertyDrawer.
Merge branch 'master' of https://git.code.sf.ne...
Fixed bug with array offsets during conversion.
Implemented Data Query PDU.
Thanks Avi, good to hear from you 😃 Karl Sent from my Windows Phone -----Original...
Hi Karl, I forgot to login when I post the message above. Best regards, Avi
Hi Karl, It's been quite some time since our last contact. Hope you're doing fine....
Implemented ActionRequest & ActionResponse PDU.
Fixed the bug, it was caused by reading the rem...
DecodeFactory Infinite Loop
Working on optimizing PDU Factory.
Finished editor for VariableDatum.
All fixed now.
Incorrect Equal Behavior
Hi Karl, Awesome! Thanks, Avi
General cleaning of code.
Updated Acknowledge PDU to use enums.
Started work on VariableDatumPropertyDrawer.
Fixed bug with array offsets during conversion.
Changed FixedDatum to use functions instead of ...
Working on VariableDatum:
Hi Avi, Just had a look, I did not realise the datum specification was in the DIS...
Oh yes of course. I would try to keep it inherited from comment and just re implement...
Implemented PDU events & signaling in DecodeFac...
Okay, please let me know once you have taken a look at it. Avi
Oh yes of course. I would try to keep it inherited from comment and just re implement...
Hi Karl, The function that SetData PDU tries to call is SimulationManagementHeader's...
What base.base function are you trying to call? It should be ok to propagate the...
Hi Avi, Sounds interesting. I'm away this weekend but will look into it when I get...
What base.base function are you trying to call? It should be ok to propagate the...
Hi Avi, Sounds interesting. I'm away this weekend but will look into it when I get...
Hi Karl, I have implemented VariableDatum class in the latest commit of vdevelop...
Implemented VariableDatum & VariableDatumCollec...
Hi Karl, Awesome! I will do the VariableDatum and you can check them out afterwards....
FixedDatumPropertyDrawer: Fixed bug when array ...
Added Comment PDU.
Do this instead: if( !SimulationManagementHeader.Equals( this, b ) ) return fals...
Incorrect Equal Behavior
Hi Avi, I have added the FixedDatum, I will add the variable datum when I get a chance...
Hi Avi, It should be quite simple now. I will try and do it today. Karl
Fixed custom editors style. Indent was incorrec...
Finished changing uints to ints.
merged vdevelop branch.
Added FixedDatum.
Added FixedDatumCollection.
Added property drawer for Fixed datum to allow ...
Hi Avi, It should be quite simple now. I will try and do it today. Karl -----Original...
Hi Karl, If possible, can you give an example on how you would implement Fixed and...
Hi Karl, Thank you for the update! Sorry I haven't answered very quickly, our team...
- Updated Detonation & Fire PDU to using the ne...
Merge branch 'master' into vdevelop
Ok all done. The entity state pdu should work with no errors now. I have not finished...
Changed complex data types so they no longer us...
Hi, Can you send me your logs? How can I repeat this error? Karl
Thanks Avi. I'll take a look at it tonight. Karl
Hi Avi, The error is being caused by MonoBehaviourSingleton on line 17. This is caused...
Thanks Avi. I'll take a look at it tonight. Karl -----Original Message----- From:...
Hi Karl, To reproduce this error, I do the following: - Clone the repo - Checkout...
Hi, Can you send me your logs? How can I repeat this error? Karl -----Original Message-----...
Hi Karl, I am getting a lot of the following error: CompareBaseObjectsInternal can...
Added DISUnity.Utils.Conversions HeadingPitchRo...
Implemented EntityType.HashCode
Thanks Avi.