How come it that when I create a UCapsuleComponent from C++, alot of it’s properties are not shown in the Blueprint editor?
There is no “Use CCD” and many other properties are missing.
This is only the case when a component is created on the C++ side.
This is an example of some of the missing properties. This image is a Capsule Components physics section where it’s created from C++
This is where I created the component via the BP editor. As you can see there are clear differences.
The C++ components are created this way:
UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (AllowPrivateAccess = "true"))
UCapsuleComponent *Capsule;
And in the constructor:
Capsule = CreateDefaultSubobject<UCapsuleComponent>(TEXT("Capsule collider"));
Capsule->SetupAttachment(Root);
What is going on?