Hi there,
I'm trying to use the vectrosity actions in my project and so far I didn't succeed. (I'm quite new in Playmaker yet, so most probably I missing something)
Basically I want to get the hand drawing effect you can see in the vectrosity demo (
http://starscenesoftware.com/vectrositydemo7.html). This is what I'm doing:
1) I imported the vectrosity DLL and the custom actions for playMaker to use Vectrosity.
2) I created 3 different objects: I) a game object "VectrosityControl", with a BoxCollider2D component and the FSM which controls the drawing actions., II) a prefab sprite call "Brush" with III) a material-shader (Particles/Additive).
3) The FSM "VectrosityControl". It's waiting for the left button mouse to be clicked. Then it send an event call "Start Drawing".
4) The "Start Drawing" event contains the following actions:
- Mouse Pick 2D where I storage a vector2 var "Coord" for the "Store Point" field.
- Vectrosity Vector2 Line. (screenshot attached) where I setup the rest of parameters. (I'm not convinced about the var in field2, as that value is never storaged/updated... I don't know what's suppose to go there to be honest.)
After this, I managed to see the vector line appear, although not with the effect that I want. Besides, in the Game Screen I can see the line appearing from the 0,0 coordinates instead of from the place where the mouse has been pressed down.
Many questions, but I hope someone can help me here.