x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Request] Mesh Particle Local/Global rotation rate.

I am currently working on a lot of particles, and unless my knowledge of them (from both ue4 and udk) results in missing something, I think I found something that is currently not possible.

I created a "tentacle" which I need to rotate on the Z axis:

alt text

Now I want it to rotate around the core on the X axis:

alt text

Now I want to combine the rotation of image1 with the rotation of image2:

alt text

Since there is (afaik) no way to keep the rotation of image1 local, it combines both rotations and does not give the result I want/need for this particular particle.

Is there a way to do this?

Edit> so far nobody seems to know a way to do this, as of that I honestly think this should keep the [Request] tag untill someone does find a solution.

Note: I could rotate the particle through BP, but I prefer to not have any additional BP's to an already difficult setup.

Product Version: Not Selected
Tags:
more ▼

asked Apr 22 '14 at 02:42 PM in Using UE4

avatar image

Luos
9.3k 286 64 330

avatar image Lovecraft_K ♦♦ STAFF Apr 23 '14 at 03:06 PM

Hi Luos -

I am looking into this for you can you upload a screenshot of your Cascade module setup so I can recreate exactly what you have?

avatar image Luos Apr 24 '14 at 12:30 AM

Hello Eric, I hope this helps. If you need anything else, please ask :)

alt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

4 answers: sort voted first

Hey Luos -

homeRye is correct the way you are going to want to implement the effect you are looking for is through a Blueprint. Here is one possible solution for you:

  1. Create a New Blueprint, select actor

  2. Add your base particle system or mesh. This should be your ROOT.(I believe that is your glowing ring/orb.)

  3. Add the mesh you want to add the Rotation and Spin (This is your Tentacle mesh.)

  4. Use the following images to setup your Event Graph - you will need 4 variables, one for beginning Rotation(PITCH), one for Ending Rotation(PITCH), one for Beginning Spin(YAW), and one for Ending Spin(YAW).

EventGraph DefaultSettings

Good Luck Eric Ketchum

rotation01.jpg (362.1 kB)
rotation03.jpg (184.5 kB)
more ▼

answered Apr 29 '14 at 06:44 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.7k 702 260 735

avatar image Luos Apr 29 '14 at 06:50 PM

thanks rye, Eric I will give this a shot once I am done with some other particles I am currently working on. I really appreciate the time and effort you guys put into helping solving this!

Kudo's!

avatar image Luos May 03 '14 at 08:57 PM

Hey hey Rye, finally had the time to go back and edit this particular particle. (yes word pun)

I decided to use most of what you described and used a second particle system with just the tentacles.

result blueprint: alt text

Result: MP4 http://i.gyazo.com/ed057fcc51ee61e3f87b3b963f67cf8e.mp4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hello Luos -

If I understand what you trying to accomplish, you are going to need an Orbit module in addition to your Int Mesh Rotation Rate module. The Mesh Rotation will handle the spin along the Z axis while the orbit module will handle the rotation about the X axis. Keep in mind, the pivot point of your tentacle mesh will be vitally important to make the effect function the way you want it to look. Here is a link to the documentation on the Orbit module:

https://docs.unrealengine.com/latest/INT/Engine/Rendering/ParticleSystems/Reference/Modules/Orbit/index.html

Let me know if this fixes your problem, Cheers - Eric Ketchum

more ▼

answered Apr 28 '14 at 09:09 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.7k 702 260 735

avatar image Luos Apr 29 '14 at 12:17 AM

Hello eric, I spend the last 30 minutes or so trying to find a way to make this work with the orbit module, but there are some limitations and this was the best result I got:

alt text

As you can see, the problem is that orbit doesnt rotate it.

Edit: I also tried to inverse the situation, where orbit rotates the mesh on the Z axis, and use the rotation rate to rotate the mesh around the ring, but without an offset it doesnt want to rotate it at all.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

If I am understanding this correctly you want more of a parent/child relationship, I cannot think of a good way to reliably do this in Cascade alone. I think your best bet is to use an actor and Blueprint/timeline/matinee whatever to control the rotation of your entire effect.

more ▼

answered Apr 29 '14 at 02:09 PM

avatar image

[Epic]homeRye STAFF
1.2k 22 3 42

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I have tried a few different things in Cascade, without creating an actor and then giving the actor rotations via a Blueprint, GameCode, or a matinee in levelScript I cannot think of an effective way to do this in Cascade alone.

You need one more level of hierarchy in the system in order to rotate all of the components as a whole. You could experiment with EmitterDirectLocation modules combined with the SourceMovement module, but you still need

You also need all of them to be in local space to make this work.

more ▼

answered Apr 26 '14 at 02:30 AM

avatar image

[Epic]homeRye STAFF
1.2k 22 3 42

avatar image Luos Apr 26 '14 at 02:50 AM

thanks for giving it a shot, I tried the EmitterDirectLocation modules and the sourcemovement but no results. (all particles are in local space) (it does affect the location offset, but seems to fully ignore the init rotation and rotation rate settings.. which is weird on its own?) Any thoughts?

Added image: Image: alt text

Any chance a suggested "local space rotation" node could be added?

bleh.jpg (417.0 kB)
avatar image [Epic]homeRye STAFF Apr 29 '14 at 02:06 PM

Source movement only updates movement, not rotation, this is as expected. As I said you could experiment to see if you could get something out of it...I really think you need to do your rotations on the actor level here.

avatar image Awesome_Junior_Miss May 03 '15 at 09:30 AM

Excuse me, I was looking for this feature too. It would be very useful in this case in the gif blew. Even Unity3D got this feature, so I really hope this happen in UE4.

avatar image Luos May 03 '15 at 12:52 PM

that is actually just an animated material on a mesh-particle with the pivot in the center. Its fairly easy to make.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question