The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our

Please check if you can find an answer in our extensive documentation on Fusion.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Manipulating the transform of a NetworkTransform object

2022-06-07 06:46:55

Hi all,

I'm trying to implement movement with DOTween on an object with a NetworkTransform component. I want to manipulate it's position and rotation from the host client with StateAuthority and InputAuthority, but it doesn't seem to work - the movement is not applied to the object.

Simply setting transform.position also doesn't seem to work, even with authority.

I'm manipulating these objects outside of their own classes - I have a complex building tool. I found NetworkTransform.WritePosition, but this of course doesn't have room for tweening.

With PUN, I could easily set transform.position and transform.rotation as long as photonView.IsMine == true. I'm looking for something similar in Fusion. Any help will be much appreciated.


2022-06-17 18:56:49

Hi, sorry for the late response.

The InterpolationTarget of the NetworkTransform is set to another object rather than the parent object itself?

Isaac Augusto

Photon Fusion team

2022-06-29 01:26:19

Hi Isaac, yes, that was my problem! Thank you.

Back to top