PDA

View Full Version : VFX help



Skendya
03-21-2015, 04:38 PM
Hello!

I am currently working on VFX for a costume i'm making, but i've run into a bit of a roadblock in development.

I am trying to make a particle effect that stays in place relational to the torso of the character, but particles seem to move in relation to the hip (using the Ice Sage passive particles, at least). Does anyone know of a way to overcome this?

I noticed that in the rather excellent Archivist Ice Sage (http://forums.trovegame.com/showthread.php?13681-Costume-Skin-Arcane-Archivist)mod by Thelgmo, the Mage Armour stays in place relative to the torso as seen below, but that's using a mesh; the other particles seem to rotate in line with the hip model instead.

http://i.gyazo.com/2046f623e48e0f938a77f54f1b5ecbd3.gif
(Mod credit to Thelgmo, I didn't make this)


Is there any-way to accomplish this using a "2d billboard" (non-mesh particles)?

Thanks for reading!

TheIgmo
03-21-2015, 09:21 PM
Just wanted to pop in and give you a couple quick pieces of info!

You can, in fact, get billboard renderers to stay in position -- the pages of the book are actually done with billboard renderers. The not-so-obvious bit is that you'll need to make sure that if you're displaying it using a PlanarAlignedQuad billboard mode, that BOTH of the axis fields for that billboard need to have the fields set to use rotation transformation. You can do this by clicking on the fields node, and finding the fields that you're using for the axis fields, and clicking on the little box to the left of the field name until it turns into a "circle" icon. With that and a localspace evolver you should be able to get your billboard renderer to follow the character's movement.

http://i.imgur.com/8h5kxUc.png

Now, you MIGHT notice that things "stutter" a bit when moving quickly doing this. To get that to be a bit more smooth, you can add a script evolver under the localspace evolver (it should be a sub-node, just right click on the localspace evolver, and add the script evolver that way). Then, in the script evolver, just add a line that sets the position. This will cause the VFX to update the current position of the VFX any time the position of the character changes making things move smoothly!

http://i.imgur.com/oh5VX2r.png

Edit: The rune ring on the shield/mage armor piece uses this too -- the axis normal stuff is a little more complex, since I used some math to get the billboard to display in an outward-facing manner for each particle that spawns.

Edit2: If you have VFX questions, feel free to message me :) I'm always happy to help answer questions!

Skendya
03-22-2015, 06:02 AM
Thank you for replying and for the help, Thelgmo!

Unfortunately the problem I am having is slightly different to the one you gave advice for. The best way to describe my problem would be through screenshots, but I don't want to post them on the forums until the costume is complete. Do you have Skype or some other messager? I can't use the forum PM thingy for some reason.

TheIgmo
03-22-2015, 06:28 AM
For some reason I can't send you a private message -- I'm guessing that's related to the problems you're having on your end with it. I'd obviously rather not share personal contact stuff out on the forums for the world to see, but hit me up in-game (IGN: Trovius) and I can get that for you :)

Edit: I worded that poorly: I meant that I'll be happy to give you my skype information, but I just don't want to post it publicly in a thread ;)

Edit2: I saw I missed your whisper in game! Ack! Sorry! If you whisper and I don't respond, try sending a friend request so it pops up the message for me -- that way if I'm out adventuring or step away for a moment, I don't miss you next time. Alternatively, if you want to shoot me a PM on reddit, my reddit username is: igmolicious

Skendya
03-22-2015, 10:02 AM
Problem solved!