Try Get Pawn Owner always returns none

TankbusterGames
Sun, 26 Feb 2017 11:43:41 +0000
Character & Animation

Im working on my character animation, and the “Try Get Pawn Owner” node always returns nothing, so i can’t cast to character class or do something similar.

I tried “GetPlayerCharacter 0” and everything worked fine, but of course then i can’t have multiple characters using the same blueprint.

The Parent Class of my Animation Bluepring is set to “Anim Instance”. The skeleton and animation blueprint is set and it’s working.

When creating the character, the character skeletal mesh is an “empty”, i spawn an skeletal mesh actor and assign it to the character. May this be the Problem here? maybe the Pawn Owner of the animation is still this empty, so it has no valid skeleton?

4 posts - 3 participants