Force Field and Impact Effect - (UE4 Tutorial)

Sdílet
Vložit
  • čas přidán 2. 07. 2024
  • Project Files : / six-more-project-28703232
    Force field and an impact effect tutorial on the force field in ue4.
    Basically whenever we hit the forcefield with a projectile it will shake , create a hotspot and create a circle that grows and shrinks and it also create some particle that will come out from the impact spot.We are going to be creating the material , the blueprint and also the particle system in this tutorial.
    Disintegration effect : • Disintegration Effect-...
    ~-~~-~~~-~~-~
    Please watch: "Invisibility Effect - Unreal engine 4"
    • How to Turn Your Char...
    ~-~~-~~~-~~-~
  • Hry

Komentáře • 122

  • @UnrealCG
    @UnrealCG  Před 6 lety +13

    If you like the video, Subscribe :)

    • @skywalker778
      @skywalker778 Před 6 lety

      Amazing tutorial. you deserve way more subs

    • @xanschneider
      @xanschneider Před 5 lety

      You can't have multiple impacts at the same time. Wouldn't it be better to approach this with decals??

    • @xanschneider
      @xanschneider Před 5 lety

      Even better, spawn another "shield" actor and apply a matterial with only the impact to it, then destroy de actor. Thus allowing you to have multiple impact points at the same time.

    • @God-ch8lq
      @God-ch8lq Před 4 lety

      in have two questions:
      1) does this word on a non-sphere object
      2) do i have to use thi specific projectile

    • @vincenzomario3196
      @vincenzomario3196 Před 3 lety

      pro tip : watch movies on flixzone. I've been using it for watching all kinds of movies these days.

  • @DonEsteban3D
    @DonEsteban3D Před 3 lety +1

    Hit sound is just EPIC! I can hear it over and over for ages.

  • @HeXtion
    @HeXtion Před 6 lety +1

    Cant wait to see more of your amazing tutorials! Thank you! :)

  • @TheHalicarnassis
    @TheHalicarnassis Před 6 lety +2

    Good tutorial dude. The speed at which you move is perfect! Thanks for this little beauty and you just got a new sub XD

  • @casualgamers7351
    @casualgamers7351 Před 3 lety +1

    For anyone wondering why their collision is not getting the hit event here is a nice little friendly troubleshooting I had to do to get mine to work :) Cheers!
    Other then that really great tutorial :D
    1- Do all of your meshes being used for collision detection have a collision?
    2- Make sure the said collision is the root of the BP receiving the bullet.
    3- Make sure Simulation Generates Hit events on your collision is enable.

  • @Rhiggins5173
    @Rhiggins5173 Před 2 lety +2

    For anyone confused @9:31, the "Cast To FirstPersonProjectile" node comes when you start the file with the "first person" preset in the epic games launcher. If you started a blank level you won't be able to call this node without importing it manually.

  • @nijq
    @nijq Před 4 lety +2

    wow looks really cool
    thanks so much for the tutorial!

  • @caquito
    @caquito Před 6 lety

    Awesome tutorial, it was enough to subscribe to your channel

  • @philr4248
    @philr4248 Před 6 lety +1

    Great tutorials, keep it up! :D

  • @onzo7977
    @onzo7977 Před 4 lety +6

    Thank you from Russia. U have Unreal God-like awesome level!)

  • @IamNeighborlee
    @IamNeighborlee Před 6 lety +1

    TY so much for taking the time to help others do this,,I'm almost done with landscape sculpting, and as I sculpt, I get ideas, guess what I needed to do next ;)yup
    TY for this, perfect timing :)_)_)

  • @techlife2168
    @techlife2168 Před 6 lety +12

    holy shit . you should have millions of subscriber man . i will recommend you to my unreal engine friends

    • @techlife2168
      @techlife2168 Před 6 lety +3

      its okay .it will improve from time to time . people like him are the savior of unreal . if less people making tutorials we will learn slow.

    • @UnrealCG
      @UnrealCG  Před 6 lety +1

      @techlife Thanks :)

    • @UnrealCG
      @UnrealCG  Před 6 lety +1

      @George I am trying to improve it. hopefully it will get better over time. I don't really use English in my daily life.

    • @jesseacummins
      @jesseacummins Před 6 lety

      I like hearing different pronunciations (makes you better at understanding your own tendencies, kind of like traveling) so it's worth it to me. I can understand it being a turn-off for some people.
      UnrealCG, have you considered watching a CZcams video or two on using a more American (or British, if you're more familiar with that) accent?
      I really do think it would help you get more subscribers and spread your work. You already have really good content.

    • @jesseacummins
      @jesseacummins Před 6 lety

      Check this one out, UnrealCG:
      czcams.com/video/9Q9ItoUF3zI/video.html

  • @rishabhlaheja7689
    @rishabhlaheja7689 Před 5 lety +1

    WOW this is amazing!!!😃😍

  • @jihyun7697
    @jihyun7697 Před 6 lety +1

    amazing...!!!! i am a beginner. so great tutorial. thank you so much.

  • @marko.simunovic
    @marko.simunovic Před 4 lety +7

    Great tutorial! Thanks for this, looks amazing :) But I am wondering is there a way to make it create that effect on multiple positions if you're shooting it quick enough? My particle effects are on point, but the point of impact and the shake gets cut off if I hit it before the animation ends. Thanks again

  • @user-yb2gm9wm7i
    @user-yb2gm9wm7i Před 6 lety

    amazing!very useful

  • @faisalee
    @faisalee Před 6 lety +1

    Amazing 👍🏻

  • @zenkodeus157
    @zenkodeus157 Před 5 lety +1

    You're saving me and my school project thank you !!

  • @scottlee38
    @scottlee38 Před 6 lety +1

    Dude this was vicious!!! XD

  • @neo7108
    @neo7108 Před 6 lety

    Awesome!

  • @gamegongbang
    @gamegongbang Před 6 lety

    really thanks to you.

  • @JacksonsPOV
    @JacksonsPOV Před 4 lety

    Amazing tutorial! How would you make it so that you can only see the texture in the impact circle and nothing else? I'm currently suck on that

  • @Igrom4ik
    @Igrom4ik Před 6 lety +1

    You are very smart, I like your lessons, they are very detailed, even without knowledge of the language, you can understand everything. Thank you very much, let more lessons on UE4.

  • @user-xw5uy7kc8t
    @user-xw5uy7kc8t Před 6 lety +1

    感谢分享 :D

  • @mohammedbensaberbenkritly7411

    not all heroes wear cape xD

  • @zaidtarek9445
    @zaidtarek9445 Před 5 lety +1

    Can this be an idea of making something like while shooting in grass make a particle effect and shooting in sand making another particle effect ?

  • @redguard10
    @redguard10 Před 6 lety

    Love your tutorials I wanted to know if you knew how to make this work when applying to VR like if you brush your hand over the force field or throw an object not a projectile at it?

    • @UnrealCG
      @UnrealCG  Před 6 lety

      We are driving the impact effect when the bullet hit the forcefield. All you have to do is change that to when the hand hit the force field. Maybe make an invisible object that moves with the hand in VR and when it hit the forcefield play the impact effect.

  • @longnightofsol
    @longnightofsol Před 4 lety +1

    I noticed it will only spawn one impact effect at a time, is there is way to spawn multiple impact effects at the same time?

  • @weiqi2920
    @weiqi2920 Před 5 lety +1

    good

  • @JamesBrown-qb5ih
    @JamesBrown-qb5ih Před 6 lety +2

    Is there a way to create multiple impact rings? So that rather than resetting the timeline and creating a new impact while deleting the current one, we could have 2+ simultaneous impacts? I have searched for tutorials covering this but can't yet find any

    • @UnrealCG
      @UnrealCG  Před 6 lety +1

      So I can think of one way to achieve this , it's a bit complicated.First you have to create a material function which have all the node to make the ring and hotspot effects((You can skip this part if you want, but then your material will get very complicated, there will be many duplicates of the same nodes in the material)),Then you should make multiple vector parameters maybe 4-5.Then you can drag in the material function to the material and duplicate in 4 times and connect the vector parameter to each of them and add it to the material.
      Then in blueprint ((There are few other ways to do this)) you have to get a multi gate and make it loopable then get four outputs from it and change the four vector parameter using each of the four output.(so from the first output you change the first vector parameter and from second the second parameter and so on).Depending on your rate of fire when the fourth parameter is being used the first one should reset. Sorry if this is bit complicated.
      I will let to know If I find a better method.I got an email from one dude that said he made multiple spheres when colliding so that there is multiple material instances and so it won't rest the effect on the first impact location.

    • @MarsMonstaaa
      @MarsMonstaaa Před 6 lety

      czcams.com/video/t-8jePbEwHI/video.html

  • @panserzap
    @panserzap Před 3 lety

    If the shield was moving the impact effect won't be correct , it has to follow along. Could you tell me how to do that?

  • @tristangybels8040
    @tristangybels8040 Před 6 lety +2

    Epic

    • @tristangybels8040
      @tristangybels8040 Před 6 lety

      I used a custom sphere static mesh and i get this error: static mesh object reference is not compatible with material instance dynamic object reference

  • @KnoronOfficial
    @KnoronOfficial Před 6 lety +1

    Nice Video again you Help me a lot. Can you make at Next a Mount (Horst Riding System) where the player can go on the mount and can fly like ark

    • @UnrealCG
      @UnrealCG  Před 6 lety

      I never played ark.So you can mount a ground mount and then it can fly?

    • @KnoronOfficial
      @KnoronOfficial Před 6 lety

      UnrealCG no i mean when i have a Horst it is only for the Ground but when i have a Dragon i can fly and the character is on the mount like World of Warcraft you Now?

    • @UnrealCG
      @UnrealCG  Před 6 lety

      You want to know how to make the mounting animations , hand placement and also the mount moving in air?

    • @KnoronOfficial
      @KnoronOfficial Před 6 lety

      UnrealCG Yes 😄

  • @HeXtion
    @HeXtion Před 6 lety

    Hello UnrealCG, just wanted to ask maby you could make some tutorials for multyplayer in blueprints(for example with "VaRest" plugin) with server/database integration? i think this would be a really useful guides for most of the developers because there are really not many guides about it, and its really hard for the beginner developers who work in small teams :).

    • @UnrealCG
      @UnrealCG  Před 6 lety

      I am learning multiplayer stuffs at the moment.I will make few tutorials when I get comfortable with it.Thanks for the suggestion.

  • @rbrannon
    @rbrannon Před 2 lety

    I've attached this to a characters(car) input to be used as an ability. But everytime I use it...my car sinks like 6 inches into the ground and when the effect ends, the car pops right back up.
    Any ideas anyone? I haven't been able to fix this in a couple of days.

  • @HAGUUU
    @HAGUUU Před 5 lety +1

    Hi Friend! I have a little problem, i did every you say, but, i create a other gun and other projectile. My projectile generate a overlap (i used print string and his say "Hello") But, the effect of shield not work, the projectile did like you, but no see the effect
    . (I Stopped in 14:15, i not got do this "effect".)

    • @HAGUUU
      @HAGUUU Před 5 lety

      Deatail, I Import the shield and materials for other project. When i use the gun and projectile deafaul of unreal engine. work 100%.
      But my projectile or gun (I dont know what is problem) not work.

  • @Armoraxis
    @Armoraxis Před 4 měsíci

    I know this is a bit late, but I can't get the hit effect to appear in UE5

  • @OAXPxo
    @OAXPxo Před 6 lety

    Hey I have a question, If I want to make this impact effect when I'm in the sphere, how can I do it? please

    • @UnrealCG
      @UnrealCG  Před 6 lety

      I think for that you need to invert the collision. Try checking double sided collision in the mesh details.

    • @OAXPxo
      @OAXPxo Před 6 lety

      It's good I made it with BSP and convex collisions ;)

    • @panserzap
      @panserzap Před 3 lety

      @@OAXPxo I know it has been a long time, but do you by any chance remember you made it work?

  • @purvajpiyushvaidya4953

    hey.. i did everything exactly the same as u did, but i think because of the ball projectile, the impact effect is not working.. can u let me know how to remove the ball projectile and yet shoot?

    • @UnrealCG
      @UnrealCG  Před 6 lety +1

      What ball projectile? The yellow one from the first person template?

  • @fuzzypanda1684
    @fuzzypanda1684 Před 2 lety

    Hmm, how would I do this if I'm using a Line Trace instead of a projectile?

  • @robinsonrobinson9924
    @robinsonrobinson9924 Před 6 lety +1

    carry a sword and shield and walk with a forcefield 4REAL

  • @felipelourentino8522
    @felipelourentino8522 Před 3 lety

    Top vc hein

  • @arananime3156
    @arananime3156 Před 6 lety +1

    How do you make multiple hit effects when two projectiles hit?

    • @UnrealCG
      @UnrealCG  Před 6 lety +1

      There are couple of ways to do that. The simplest way is to spawn a sphere each time it gets hit and deleted the previous one after the time line ends.

    • @Astaraa
      @Astaraa Před 5 lety

      @@UnrealCG I'm testing this (w/ add static mesh component) and the timeline seems to only work for the newest sphere. It gets stuck on previous ones...

  • @stephenjunceau7306
    @stephenjunceau7306 Před 6 lety

    Very cool, going through it ran into some trouble with the "Cast to First Person Projectile", it doesn't seem to exist.

    • @UnrealCG
      @UnrealCG  Před 6 lety

      Are you using the first person template?

    • @stephenjunceau7306
      @stephenjunceau7306 Před 6 lety

      Yes, there was no projectile anything included. Only a trace into an impulse at location in the First Person Character BP.

    • @UnrealCG
      @UnrealCG  Před 6 lety +1

      Go to first person BP folder and check if there is an actor that looks like an yellow ball call first person projectile.

    • @stephenjunceau7306
      @stephenjunceau7306 Před 6 lety

      There isn't one.

    • @UnrealCG
      @UnrealCG  Před 6 lety +1

      Strange every first-person template should have it. Try making a new first person project.

  • @heribertocalderon6094
    @heribertocalderon6094 Před 6 lety

    Hi man. How would I go about making this blue print disappear after hitting it 10 times?

    • @UnrealCG
      @UnrealCG  Před 6 lety

      Just create an int variable called count and every time the projectile hits the forcefield increase the count by one.Then from count use a greater than or equal to node and set that value to 10. then connect that to a branch and from true, you should call destroy actor and the target should be self.

    • @heribertocalderon6094
      @heribertocalderon6094 Před 6 lety

      thank you so much Homie

  • @kartune0832
    @kartune0832 Před 6 lety +1

    what would be the math to use a texture for the impact effect instead of the sphere mask with sine?

    • @UnrealCG
      @UnrealCG  Před 6 lety

      You can use the sphere mask without the sine and connect it to the alpha of a lerp node and on the lerp node give A the default texture and on B give the texture you want.

    • @kartune0832
      @kartune0832 Před 6 lety

      mmm, i wanted to replace the waving effect with the blast texture from your portal video but i can´t make it work for some reason

    • @UnrealCG
      @UnrealCG  Před 6 lety

      if you want to use the blast texture then you need to provide the UV information to place it on the mesh at the hit location.

    • @kartune0832
      @kartune0832 Před 6 lety

      mmm, i managed to add other effects but i still have trouble with that, if you could take a screenshot of how to do it that would be great, i´ll keep trying though, i'll have to figure it out at some point

    • @UnrealCG
      @UnrealCG  Před 6 lety

      mm,let me see if I can make it.

  • @Extrone
    @Extrone Před 6 lety

    Great Tutorial, Where are you from

  • @ariessoul9586
    @ariessoul9586 Před 4 lety

    how did you create the lerp in the beginnning

    • @UnrealCG
      @UnrealCG  Před 4 lety +1

      Press L and click on the graph

  • @gameinsight3060
    @gameinsight3060 Před 6 lety

    What should I do if my project is a third person template? Can't I do this?

    • @UnrealCG
      @UnrealCG  Před 6 lety

      You can. You just need to cast to your projectile in your project(if you have) and not the first person projectile.

    • @gameinsight3060
      @gameinsight3060 Před 6 lety

      UnrealCG but I don't use any projectile

    • @UnrealCG
      @UnrealCG  Před 6 lety

      So then what do you want the force field to react to?

  • @priceless5386
    @priceless5386 Před 6 lety

    Sorry i know this is a beginner question, but how did you make it so your player can walk through the force field but the bullet still hit it?
    EDIT: oh i think i got it, just setting the sphere1 mesh to NoCollision seemed to do the trick. Is that right?

    • @UnrealCG
      @UnrealCG  Před 6 lety +2

      Yeah.For this particular tutorial you can just select the sphere1 in the actor and set it's collision to noCollision.This will work because our collision sphere is set to overlap only. So the only thing that was blocking the player was there sphere mesh that we applied our material to.So setting it to noCollision will allow the player to pass through it and the collision sphere will only block the projectile.

    • @priceless5386
      @priceless5386 Před 6 lety

      Thank you for the prompt reply! I have noticed that when i shoot while within the force field, that the projectile spawns, but it is outside of the force field. From debugging i noticed that the hit event is firing, so my assumption is the projectile cannot spawn within the sphere, so it spawns to the closest spot outside of the sphere? Sorry i realize these questions are not really related to the material you covered in the video, so i really appreciate your time and replies.

    • @UnrealCG
      @UnrealCG  Před 6 lety

      Yeah that's right.

    • @jonathanburris2158
      @jonathanburris2158 Před 5 lety

      @@priceless5386 Have you found a way to fire from within the sphere? my weapon is based off a line trace instead of a projectile, but I am having the same issue with not being able to fire from within. I updated the mesh to be an actual dome, thinking it might have been because the original was a solid sphere, but I am getting the same results with the dome as well.

    • @jonathanburris2158
      @jonathanburris2158 Před 5 lety

      I replaced the model with an actual hallow dome (made in blender), then made a series of collisions around the edges with the same settings so it allowed pawns but not the line trace on my weapon

  • @Blacklol1000
    @Blacklol1000 Před 6 lety +3

    I like your voice

  • @AxeL-jh3os
    @AxeL-jh3os Před 6 lety

    who will tell why the animation is always lost, not just once 26:44

    • @windlecraft9571
      @windlecraft9571 Před 6 lety

      What animation is being lost?

    • @UnrealCG
      @UnrealCG  Před 6 lety

      Do you mean the position of the hotspot and and radial ring changing?

    • @AxeL-jh3os
      @AxeL-jh3os Před 6 lety

      not the fact that animation created ParticleSystem being played over and over again

    • @UnrealCG
      @UnrealCG  Před 6 lety

      Ok, so that is because of the timing of the second brust.We fix that at 26:49

  • @Christopher43211
    @Christopher43211 Před 6 lety

    malayaliyaano?

    • @UnrealCG
      @UnrealCG  Před 6 lety +2

      Athe!

    • @Christopher43211
      @Christopher43211 Před 6 lety +1

      Hahhahahahahaa CRAZYYYY! :D
      Love your content man. Just started off with the Unreal Engine a while back

    • @UnrealCG
      @UnrealCG  Před 6 lety +1

      Thanks and Best Wishes :)