Why doesn't a NetworkRigidBody roll?

Options

Hi,

I have a networked ball which works fine and appears for all players. When I set a velocity for it (or use AddForce) the ball moves fine for all players. However, the ball does not roll.

To make sure my physics were correct I created a non-networked version of the same ball using the same physics material. Adding a force or setting the velocity rolls the ball perfectly, but obviously this one is only visible to the local player.

Is there some extra step required to have the ball roll as well as move when it is networked?

(Note that the ball is entirely controlled by a headless server which has state authority.)

Thanks for any help.

Best Answer

  • Wobbles67
    Wobbles67
    Answer ✓
    Options

    Never mind. I had freeze rotation set on the rigidbody. All good now.

Answers

  • Wobbles67
    Wobbles67
    Answer ✓
    Options

    Never mind. I had freeze rotation set on the rigidbody. All good now.