Adding New Hit Surfaces/Layers
In Platformer Engine, any surface that can be hit by a weapon has to be defined inside Player > WeaponController > Assignables > Hit Layer

Then, for each weapon, you can configure graphics and sounds on hit for each of the hit layers. Navigate to the weapon_SO you want to modify, like Pistol. Then, navigate to Visuals.

You can assign hit VFX for each of the layers in HitLayer, just make sure that “Name” corresponds to the exact same name of the layer.
Last updated