Hi folks!
I’m trying to send global event from blasts or boom fx then it’s almoust end;
and i’m don’t know how to pack Vector3 to my event.
i’m write something but it’s dosen’t work.
this happen then blast must remove, i’m send event.
SharedPtr<VariantMap> v;
v["BlastPos"] = GetNode()->GetWorldPosition();
SendEvent(StringHash("Blast"), v);
GetNode()->Remove();
Then player got this message he check radius to blast. and if it’s near then player add some shake(noise movements) for your’s camera;