public ShapeData ToShapeData() { return(new ShapeData( Vector3Serializable.FromVector(transform.localScale), ColorRGB.FromColor(material.color), Vector3Serializable.FromVector(transform.position), Vector3Serializable.FromVector(rb.velocity), Vector3Serializable.FromVector(rb.angularVelocity), Vector3Serializable.FromVector(transform.rotation.eulerAngles))); }