#pragma once #include "CoreMinimal.h" #include "GameFramework/Character.h" #include "GigLineNPCPerson.generated.h" /** * Reusable NPC/pedestrian prefab built on the MPFB human asset. * * Deliberately NOT the 0.1.0 player (which is AGigLineCharacter, a capsule + * camera). This is the visible-body template for future NPCs/pedestrians * (0.5.0): ACharacter's collision capsule sized to the ~1.66 m MPFB human, * with the character skeletal mesh on the built-in mesh component as the * visible body, feet at Z 0. * * Head-height guarantee: capsule half-height 83 cm (total 1.66 m), so the head * top sits at ~1.66 m; a camera/view at 1.60 m sits just below eye level and * does not clip the head or neck. Set HeadHeightCm after observing the posed * mesh if the eye socket lands elsewhere. */ UCLASS() class GIGLINE_API AGigLineNPCPerson : public ACharacter { GENERATED_BODY() public: AGigLineNPCPerson(); /** Observed head height (cm above Z 0), used to verify camera clearance. */ UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "NPC") float HeadHeightCm = 155.f; };