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.

Rotation not working when using Network Rigidbody

SauSy
2022-12-14 18:51:56

Exactly what the title says. When I use network rigidbody, the rotation is not synced at all. Is there something I'm missing? Do I have to manually sync up the rotation, and if so how? Thank you

Comments

Luke_Sta
2022-12-19 14:11:21

Network Rigidbody does sync rotation. How are you modifying the rotation? Keep in mind that when using dynamic rigidbodies you cannot update transforms/rotations directly but should use the functions on the rigidbody instead of transform to move / add force.

SauSy
2022-12-20 14:54:44

Luke_Sta 2022-12-19T14:11:21+00:00

Network Rigidbody does sync rotation. How are you modifying the rotation? Keep in mind that when using dynamic rigidbodies you cannot update transforms/rotations directly but should use the functions on the rigidbody instead of transform to move / add force.

I don't do anything to sync rotation. The rotation that happens by the physics simulation does not sync. If I do it manually it works fine

SauSy
2022-12-20 15:08:08

I found the issue. Turns out it didn't have anything to do with photon, but rather with my physics material. Putting the friction to 0 makes it turns extremely slowly

Back to top