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
Documentation

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.

Read More on
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.

Fusion Network Transform Interpolation

Yosan
2022-03-25 13:11:50

I work on 3d character movement with the navmesh agent.

and I use network transform to sync all characters and I found.

if I use interpolation data source: auto

our character (has state authority) is small shaking

another character (not has state authority) is smooth

if I use interpolation data source: Not Use

own character (has state authority) is smooth

another character (not has state authority) is small shaking

can I achieve smoothness in both my own character and another character?

Comments

ramonmelo
2022-03-31 13:47:54

Hi @Yosan ,

Yes, you can modify the NetworkTransform component in realtime to get the best result in both cases, just include the following code inside the Spawned callback:

And it should work as expected.

--

Ramon Melo

Photon Fusion Team

Yosan
2022-04-01 07:48:05

Thank you very much it work.

Back to top