[C++] Hide category of UPROPERTY

At the top of your .h file where its say

UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))

you need to add a string to the end of it like this

UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent), hidecategories = (“Physics”))