could not change transform.scale

Options
I can change directly position and rotation. But can't change scale. Is it possible? Am I doing smth wrong?

Comments

  • Hello @nhunter ,

    It's not clear what do you mean by "can't change scale".
    You can get any game object and scale it just fine.

    If you are referring to scale the game object, and it being replicated over the network, Bolt does not take the scale into account when synchronizing the Entity transform, that is why on the settings of a Transform property, there are no options to the Scale, for example.

    If you want to synchronize the scale of an Entity, you would need to synchronize it using a Vector3 property and updating the remote Entities using Property Callbacks.

    You can read more about the topic here: https://doc.photonengine.com/en-us/bolt/current/gameplay/state
  • nhunter
    Options
    Ok, thanks for the response