I have created a class from c++ with a USphereComponent visible to BluePrints. I’ ve also created another BluePrint with no custom code from the editor, just inherit from Actor, and in this i’ve created SphereComponent.
I want setup the Physics Properties in the SphereComponent of my Custom c++ BluePrint, But when I go to the details tab the i can’t find the Physics group, Why is this?
May be i wasn’t clear in my question. I want to setup the Physics properties in my USphereComponent, like the property Simulate Physics, but as i said this properties tab is not present.
This is the code for my class.
UCLASS()
class MYPROJECT_API AMyActorCpp : public AActor
{
GENERATED_BODY()
protected:
UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (AllowPrivateAcces = "true"))
class USphereComponent* SphereComponent;
public:
USphereComponent* GetSphereComponent() const { return SphereComponent; }
AMyActorCpp(const FObjectInitializer& ObjectInitializer);
};