Brainstorming: Physics and Packet Handling for Entities
#5
Cool, one thing is that for this function (replicateMovement()) to properly work, the dirty flags have to be always set when there is a change. That's why I am thinking of moving the m_Pos,m_Speed, m_Rot to private members, leave the dirty flags as protected members (so any override function knows if the position/speed/rotation has changed), and make sure that anything that access these members go through the public functions
Reply
Thanks given by:


Messages In This Thread
RE: Brainstorming: Physics and Packet Handling for Entities - by keyboard - 03-20-2013, 12:40 PM



Users browsing this thread: 3 Guest(s)