Overview
Hands-on walkthroughs based on AutoAimComponentExampleMap and the shipped demo Blueprints. Start with Play the demo if you have not run the example level yet.
flowchart TD Start["Play the demo"] --> LockOn["Add lock-on to your character"] Start --> Target["Make an aimable target"] LockOn --> BP["Blueprint reference"] Target --> BP BP --> Ref["Component reference"]
Guides
Section titled “Guides”| Guide | What you will do |
|---|---|
| Play the demo | Run the example map and trace the input flow |
| Add lock-on to your character | Reproduce FirstPersonCharacter wiring on your pawn |
| Make an aimable target | Implement BPI_AutoAim like ThirdPersonCharacter_NPC |
Complete asset migration first if the package is not in your project yet.
Example presets (quick reference)
Section titled “Example presets (quick reference)”Copy these onto Auto Aim Component in your player Blueprint. Defaults below match the component CDO in the product project (verified via editor).
| Preset | Trace Distance | Trace Size | Interp Speed | Smooth Aiming | Best for |
|---|---|---|---|---|---|
| Demo default | 3000 | 100 | 10 | On | Shipped example feel |
| Forgiving lock | 4000 | 150 | 8 | On | Wider acquire cone, slower pull |
| Snap assist | 2500 | 80 | 25 | On | Faster camera snap |
| Hard lock | 2000 | 60 | — | Off | Instant rotation, tight cone |
Optional toggles per preset:
| Preset | Enable Free Looking | Check Line Of Sight | Override Socket |
|---|---|---|---|
| Demo default | Off | Off | None (closest socket) |
| Free-look shooter | On (Free Look Distance 10) | Off | None |
| Head-only | Off | On | Your head socket name |
| Cover-aware | Off | On | None |
Before you start
Section titled “Before you start”- Content root:
Content/AutoAimComponent/ - Demo map:
Map/AutoAimComponentExampleMap - Player example:
Blueprints/FirstPersonCharacter - Target example:
Blueprints/ThirdPersonCharacter_NPC - Package:
Blueprints/Main/AutoAimComponent,BPI_AutoAim,CT_DistanceBasedAngle
Keep the Blueprint reference and Component reference open while editing.