I have created a C++ class derived from the character class.
I have added a spherecomponent
on *.h:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Collision")
USphereComponent* ProxSphere;
and on *cpp:
ProxSphere = CreateDefaultSubobject<USphereComponent>(TEXT("ProxSphere"));
Next I created a Blueprint out of it.
Whenever I place the BP into the world the Sphere Component is glued to 0,0,0 while the mesh and root capsule folow my cursor. Once I release the mouse and place the BPsomewhere in the world, only then the sphere component follows the root somehow.
Any idea what is wrong here?
Thank you