BoltNetwork.Instantiate rotation

Is there a way to access the rotation variable submitted by the Instantiate method? I disabled the rotation replication of the instantiated state, but I do want to have the rotation set on instantiation (which doesn't seem to happen because the rotation is disabled in the state).

Comments

  • You shouldn't disable rotation in the state. Bolt is only going to send the rotation if it's changed. Since you aren't changing it in your code, or only setting it once, it will only be replicated across the network if it changes. Store the quaternion in the state, and read it when attached.
  • > Bolt is only going to send the rotation if it's changed.

    Are you sure? I thought state properties are always sent like commands.
  • State properties are only sent when changed. You can test this with the Bolt Connections window that shows how much is being sent over the network.