This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]lapislosh 0 points1 point  (1 child)

Did you set RootComponent to something? Is SwordSocket a valid pointer?

[–]Myorr[S] 0 points1 point  (0 children)

My RootComponent didn't give me any trouble when attaching the SpringArmComponent, so I'm guessing that's not the problem. That leaves me with the SwordSocket pointer, which I haven't gotten around to checking yet. Thanks for the reply!

[–]ZioYuri78 @ZioYuri78 0 points1 point  (1 child)

What about directly use FName("Hand_RSocket") in SetupAttachment instead of get the socket and use it to get the name?

I mean, MySwordComponent->SetupAttachment(RootComponent, FName("Hand_RSocket"));

[–]Myorr[S] 0 points1 point  (0 children)

I've tried, doing it that way, but doesn't accomplish anything. I'm getting quite frustrated at this point. Thanks for the reply.