Author Topic: Suggestion: TNSyncRigidbody should have a bool for sending quickly.  (Read 1703 times)

RFCsDriveMeNuts

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 12
    • View Profile
Physics changes a lot, especially if you have a physics controlled player (a car), or other gameplay sensitive objects.

I've simply added a member variable: public bool sendQuickly = false; to the TNSyncRigidbody script, and then called SendQuickly instead of Send if the sendQuickly member variable is true. 

This way the user can choose per rigidbody: is this object getting moved a lot by physics?  Perhaps I should check the sendQuickly bool.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Suggestion: TNSyncRigidbody should have a bool for sending quickly.
« Reply #1 on: February 23, 2014, 06:17:30 PM »
Valid suggestion, thanks!