Morning Sir.
If you want to easily retrieve the Velocity of your VFX Graph object what you can do is :
-
Create a Vector3 Property and make sure to turn the “Exposed” value on.
-
Name it to something meaning full like “System Velocity” or else.
-
Use this property where you want to use it. (ex: use it to set the initial Velocity)
-
Drag your VFX Graph in your Scene and select it.
-
In your Inspector Tab, add a “VFX Property Binder” component to your VFX Graph.
This Component Script will allow you to easily “Bind” your exposed velocity property to your VFX Graph Velocity.
-
Click on the “+” sign to create a new Binding and go in the “Transform” category to select “Velocity”
-
Once this is done, Select the Velocity Binding and set the Property to your exposed Property (in my case, I’ve named it “System Velocity”). And set the Target by assigning your VFX Graph Transform. If everything is properly linked, the Orange Square should change color to Green.
Your VFX Graph Velocity is now properly binded to your Vector3 exposed property. You can use it as you want in your graph. In my example, I’m Inverting the Velocity by multiplying it by -1 so that the particles are pushed behind by VFX Graph direction (like Smoke Exhaust from a car).
Hope this will help. Have a great day.