Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 21, 2009, 1:18:46 AM (16 years ago)
Author:
scheusso
Message:

reverted changes of ControllableEntity
synchronisation now again with server and client values and overwrites (unidirectional)
problem with bidirectional synchronisation was the combination with bullet (lots of changes of client ships on the server side and thus lag in synchronisation)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp3/src/orxonox/objects/worldentities/ControllableEntity.h

    r2990 r3004  
    164164            bool bDestroyWhenPlayerLeft_;
    165165
    166 //             Vector3 server_position_;
    167             Vector3 common_position_;
    168 //             Vector3 client_position_;
    169 //             Vector3 server_linear_velocity_;
    170 //             Vector3 client_linear_velocity_;
    171             Vector3 common_linear_velocity_;
    172 //             Quaternion server_orientation_;
    173 //             Quaternion client_orientation_;
    174             Quaternion common_orientation_;
    175 //             Vector3 server_angular_velocity_;
    176 //             Vector3 client_angular_velocity_;
    177             Vector3 common_angular_velocity_;
     166            Vector3 server_position_;
     167            Vector3 client_position_;
     168            Vector3 server_linear_velocity_;
     169            Vector3 client_linear_velocity_;
     170            Quaternion server_orientation_;
     171            Quaternion client_orientation_;
     172            Vector3 server_angular_velocity_;
     173            Vector3 client_angular_velocity_;
    178174
    179175            PlayerInfo* player_;
Note: See TracChangeset for help on using the changeset viewer.