Пример #1
0
 public void UpdateBullet(Bullet bullet)
 {
     NetworkHelper.SetServerId(bullet, ServerId);
     bullet.SetTransform(Transform);
     bullet.WorldTransform = Transform;
     bullet.SetVelocity(Velocity);
     bullet.WorldVelocity = Velocity;
     bullet.Children[0].WorldTransform = Transform;
     bullet.Children[0].WorldVelocity = Velocity;
 }