Ends Today: Save up to 95% on the Time Travel Mega Bundle!

Example video: Link

Demo


Manage and trigger events based on distance to the player character. The project includes a simple Blueprint that triggers events on actors as they get close or far from the player. The events are triggered only once: outside and inside the radius around the player.


  • Used in most cases to increase performance, as actors get far away you can change the tick interval or disable tick entirely.
  • You can create a New Actor, add the Interface with both events and run any logic as they get close or far from the player.


The logic can be used in any type of game, but it is recommended for single player projects. It doesn't run every Tick.

Technical Details

Features:

  •  A simple Blueprint handles the logic. Other actors implement an Interface so the events can be used.


Examples:

  • Enable or disable tick on actors outside or inside the radius.
  • Activate or deactivate Particles as they get far from the Player.
  • Change NPCs tick interval as they get close to the Player.
  • Change the tick interval on components based on distance to the player, for instance making skeletal meshes tick less often as they get far from the player.
  • Enabling or disabling physics simulation on actor components.
  • Hide actors as they get far away or change a Material Parameter.


Note: The project includes functionality so events are triggered as actors get close or far from the player character, with the goal of gaining performance from actors that are too far away from the character. The logic that happens after the events are triggered inside other actors depends entirely on the user, although the project includes 9 examples.



Number of Blueprints: 1 Main Blueprint, 9 Examples

Input: Gamepad, Keyboard, Mouse

Network Replicated: (Not tested)

Supported Development Platforms: logic should work with any platform but only tested on Windows 64

Windows: (Yes)

Mac: (Not tested but should work)

Documentation: Link

RJ
Raul Jaramillo
All Assets by Author
4.88 
Platforms Windows 64-bit
UE Versions 4.27, 5.1
Tags PERFORMANCE, FPS, BLUEPRINTS, OPTIMIZATION
Release date 18.04.2023

Similar products

Image
Sign In
Image
Sign Up
Image
Recovery