• R/O
  • SSH

OMP: Commit

Multiplayer platform


Commit MetaInfo

Revision3268609387b380182c33153545907210727fc9bf (tree)
Time2017-05-22 03:00:58
AuthorFace
CommiterFace

Log Message

OMPClient: docked objects don't drift rotate now

Change Summary

Incremental Difference

diff -r 879d8cb793e8 -r 3268609387b3 Orbitersdk/samples/OMP/OMPClient/OMPClient.cpp
--- a/Orbitersdk/samples/OMP/OMPClient/OMPClient.cpp Sun May 21 20:00:23 2017 +0200
+++ b/Orbitersdk/samples/OMP/OMPClient/OMPClient.cpp Sun May 21 20:00:58 2017 +0200
@@ -6874,6 +6874,8 @@
68746874 entry1->tsSent=pac.content.tsSent;
68756875 sprintf(line, "%s %s", line, entry1->vessel->GetName());
68766876 entry1->vessel->DefSetStateEx(&targetstate);
6877+ entry1->vessel->SetGlobalOrientation(targetstate.arot);
6878+ entry1->vessel->SetAngularVel(targetstate.vrot);
68776879 //Refill fake fuel resource and redirect thruster for acceleration
68786880 entry1->vessel->SetPropellantMass(entry1->fuel, 0.001);
68796881 entry1->vessel->GetRotationMatrix(temprot);
Show on old repository browser