action instatiate prefab, passing weapon position and rotation

Francisco Jab 4 months ago in Shooter updated by Marti (Lead Developer) 4 months ago 1

I have vfx effect created. i need position and rotation for call it when I shoot.

if i try call into ammo action, i have only (invoker,camera,player,etc...) but i need weapon position and rotation.

in other instance I try search rotation and position of weapon, but isn't possible.

Unity version:
Game Creator version:

The Ammo asset has the Prefab Muzzle Flash, which is a game object that gets instantiated when shooting at the tip of the muzzle and automatically aligns with the weapon's direction.