Rotation not working when using set Parent and Network Transform Anchoring

The whole answer can be found below.

Please note: 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! And we offer you support through 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.

Rotation not working when using set Parent and Network Transform Anchoring

KingRam
2022-08-19 22:02:36

If I am trying to parent a network object(for example a new weapon) to a player, is using Set parent and Network Transform Anchors the way to go?

I ask because when I do this the object does get parented but the rotation doesn't work on the clients side for me.

👻

Comments

Niels
2022-08-29 13:00:20

Are you on the latest SDK version?

Generally, there is very little reason to parent an NO like that - just use a local gameobject to represent the parented weapon and let whatever state it needs be on the parent object. Presumably the weapon (when not in the players hand), isn't functionally a weapon anyway? It's just a prop waiting to be picked up.

Back to top