Announcement

Collapse
No announcement yet.

Change Defualt Pawn

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    I would make sure that your collision presets are setup correctly

    Leave a comment:


  • started a topic Change Defualt Pawn

    Change Defualt Pawn

    Hi. I create a blank code project. and try to create new Character for DefaultPawn in game mode;

    and attach to MyCharacter a sphere for collision;

    and make a Actor. but I cant detect player overlap with this actor :

    PHP Code:
    void AScorePoint::ReceiveActorBeginOverlap(class AActorother)
    {
        
    Super::ReceiveActorBeginOverlap(other);
        
    APlayerCharacterplayerCharacter Cast<APlayerCharacter>(other);
        if (
    playerCharacter && playerCharacter->isAlive)
        {
            
    Destroy();
        }

    and Score Point Actor Has a sphere for collision
Working...
X