Author Topic: rfc's over autosync?  (Read 3286 times)

thelebaron

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 15
    • View Profile
rfc's over autosync?
« on: February 27, 2014, 03:20:25 AM »
Just wondering, besides things the fact that rfc's give you more control over things, is there a reason to use them over TNAutosync for basic stuff like position and rotation? I see in the multiplayer starter game kit the controller has both rfcs and an autosync setup for movement/position, can someone tell me why both are needed?

ldw-bas

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 2
  • Posts: 32
    • View Profile
Re: rfc's over autosync?
« Reply #1 on: February 27, 2014, 11:23:08 AM »
AutoSync is a very "stupid" class it just sends the properties every fixed interval. With your own RFC's you can manage what gets sends when. So for example if a property is not changing do not send it. I have not looked at the starter kit, but I guess the RFCs are used for reliable calls and the AutoSync is used for quick udp updates.