Tutorial - Hitting Targets with Arching Projectiles in Unreal Engine

  Рет қаралды 8,656

hudspeth

hudspeth

Күн бұрын

Пікірлер: 41
@glowbug-t8w
@glowbug-t8w Ай бұрын
Thanks so much for this clear and simple tutorial. I thought getting this functionality up and running would be way more complicated, very pleasantly surprised! Worked great in 5.4.
@Radman_NZ
@Radman_NZ 4 ай бұрын
This is as close to a tutorial on passing and catching an object that I could find. I'm after a tutorial on how to create a pass and catch mechanic for a Rugby game.
@hdbsbejfbbf1864
@hdbsbejfbbf1864 3 жыл бұрын
This is the only tutorial I have ever found on this topic
@hudspeth_tv
@hudspeth_tv 3 жыл бұрын
Hopefully it helped. If not, feel free to comment with what's wrong still.
@joshhughes399
@joshhughes399 3 жыл бұрын
Dude, this was phenomenal, such extremely simple math compared to other tutorials and just super easy to follow and implement. Subscribed
@hudspeth_tv
@hudspeth_tv 3 жыл бұрын
Thank you for that comment! I felt the same way after so many failed attempts trying to implement crazy math equations that I just didn't understand. We found something that worked out :) Glad this could help you!
@the-nomad-show
@the-nomad-show Жыл бұрын
Great stuff, thank you good sir!
@hocestbellumchannel
@hocestbellumchannel 9 ай бұрын
Will this work with a cast on a specific actor instead of the "get player"?
@hudspeth_tv
@hudspeth_tv 9 ай бұрын
You mean you want it to target a specific actor (some other target) instead of the player? You definitely should be able to get it to target whatever you want, just need to pass in what the intended target is.
@hocestbellumchannel
@hocestbellumchannel 9 ай бұрын
@@hudspeth_tvThank you very much for replying. Yes, in fact I have a bunch of actors that are moving across the level. So, instead of using the "get player" I can use a cast to node, then? Also, I reckon this will work for multiple copies of the same actor? And a final question. What if you have an animation that plays from an event, how to synch the rate of fire of the animation with the rate of fire of the behavior tree? Thank you very much in advance.
@Albert-III
@Albert-III 3 жыл бұрын
Really awesome tutorial! Covers a topic I haven’t seen done before and will lead to some much more intelligent and fearsome AI!!
@craigd8177
@craigd8177 2 жыл бұрын
This is great. You should sell this as a plugin on the Marketplace. You've picked up on some information that Epic Games should've prescribed in their documentation on how to use this function.
@hudspeth_tv
@hudspeth_tv 2 жыл бұрын
I wouldn't sell this. But I definitely would consider putting it up on the marketplace for free. That might be pretty cool! Thanks for the idea and feedback
@craigd8177
@craigd8177 2 жыл бұрын
@@hudspeth_tv no worries if you want to put it up for free. I spent half a day trying to use this function properly and this was the only video that got it right. It's details like this that they don't explain properly. FYI - I kept overshooting the target because I didn't divide it by the launch velocity.
@JohnHartemusic
@JohnHartemusic 2 жыл бұрын
Nice tutorial!
@hudspeth_tv
@hudspeth_tv 2 жыл бұрын
thanks I really appreciate that! Glad this video is helping people :)
@mishovjfr3561
@mishovjfr3561 2 жыл бұрын
very good video thanks a lot, If you have more videos like this it would be very cool
@khaledalmutiri1097
@khaledalmutiri1097 3 жыл бұрын
Thank's this was helpful, i was looking for somthing easy like this
@mdp7193
@mdp7193 2 жыл бұрын
Thank you so much for this tutorial, you made it easy to understand and not heavy with math!! One thing though, although I checked 'use controller rotation yaw/roll', my turret is facing another way once I press play although it's firing towards the character?
@hudspeth_tv
@hudspeth_tv 2 жыл бұрын
hmmmm, when you created the turret object, are the axis facing the right way(looking at the turret component and making sure the red arrow is pointing the right way)? could you possibly show me some pictures or anything on twitter or my discord?
@mdp7193
@mdp7193 2 жыл бұрын
@@hudspeth_tv Yes the X axis was the issue, thank you a lot!
@hudspeth_tv
@hudspeth_tv 2 жыл бұрын
@@mdp7193 eyyyyy lets go! glad you got it sorted :)
@MrMagalenyo
@MrMagalenyo Жыл бұрын
Hello, is there a way to disable gravity on this function and just predict the position without a curve?
@hudspeth_tv
@hudspeth_tv Жыл бұрын
Definitely. There's always a way to do a thing. You should still be able to predict the position using the same projectile function unreal provides that is shown in this video. But without gravity you'll need to figure out a way to get the projectile to drop. Unless it's just like a laser.
@veinsreyes5743
@veinsreyes5743 4 ай бұрын
This is great, but what if the turret is also moving, is it still accurate?
@hudspeth_tv
@hudspeth_tv 4 ай бұрын
@@veinsreyes5743 not sure on that one. I assume it would still try and calculate the spot of the moving target and still be able to hit it. That would be a fun experiment.
@scyllado3769
@scyllado3769 2 жыл бұрын
this is awesome, you are awesome, thanks a lot
@hudspeth_tv
@hudspeth_tv 2 жыл бұрын
no you're awesome! glad you liked this tutorial
@Theta90
@Theta90 2 жыл бұрын
Hey, love the tutorial, helped a ton! I do have a quick question though -- I enabled "Favor High Arc" in Suggest Projectile Velocity, which causes the projectiles to miss by a couple feet (behind the target). Any suggestions? The turret looks identical to yours when that option is disabled, never missing... Thanks!! :)
@hudspeth_tv
@hudspeth_tv 2 жыл бұрын
If you're standing still will favor high arc miss? Sometimes if you're too close favor high arc will miss but from a distance it should hit. I would only choose favor high arc if it was something that needs to shoot far and over stuff. Think artillery. But otherwise I'm not sure why it's doing that.
@Theta90
@Theta90 2 жыл бұрын
@@hudspeth_tv That is my exact usage case, I am making a mortar / artillery in a tower defense.. The enemies walk at a constant velocity in a straight line. At long ranges, it will miss by a second or two (landing behind the target). When too close, it misses even harder. lol. I will mess around with this more and throw another reply up if I figure something out
@NCTG
@NCTG 7 ай бұрын
This does not work for some reason, the enemy (turret) gives out a correct trajectory line, but the actual projectile itself just launches itself to the space, and does not follow the arch. Also if the projectile speed is anything but under 1500 for some reason it just falls flat on the ground, and launches with no speed.
@hudspeth_tv
@hudspeth_tv 7 ай бұрын
This was done in ue4 are you using 5?
@РУССКИЙ_СОЛДАТ
@РУССКИЙ_СОЛДАТ 9 ай бұрын
UE 5.3 .... Houston we have a problem...
@hudspeth_tv
@hudspeth_tv 9 ай бұрын
oh no, i haven't been doing any game dev, does this break in 5.3 or is something missing?
@РУССКИЙ_СОЛДАТ
@РУССКИЙ_СОЛДАТ 9 ай бұрын
​@@hudspeth_tv This does not work in version 5.3. I have been looking for a solution to the problem for a long time, but I have not found it. I had to use another method. 🤷‍♂
@hudspeth_tv
@hudspeth_tv 9 ай бұрын
@@РУССКИЙ_СОЛДАТ do some methods not exist or what specifically about it doesnt work? very curious what was changed.
@РУССКИЙ_СОЛДАТ
@РУССКИЙ_СОЛДАТ 9 ай бұрын
@@hudspeth_tv kzbin.info/www/bejne/aneraXmlrLl3o8k - I used this method. (it works)
@РУССКИЙ_СОЛДАТ
@РУССКИЙ_СОЛДАТ 9 ай бұрын
@@hudspeth_tv Mortar Prediction Blueprint for Begginer, Unreal Engine 5 [ Unreal Engine Blueprints Tutorial ] - I used this method. (it works) [ the link cannot be left in the comments]
@刘傲翔
@刘傲翔 22 күн бұрын
牛逼!爱来自中国!
Unreal Engine AI with Behavior Trees | Unreal Engine
26:38
Unreal Engine
Рет қаралды 365 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
How to create Modular and Scalable UI systems in Unreal Engine
19:15
Multiplayer in Unreal Engine: How to Understand Network Replication
22:08
Unreal Engine - Throw Prediction Tutorial (1/2)
17:34
Reids Channel
Рет қаралды 17 М.
How To Make An Object Follow A Spline Path - Unreal Engine Tutorial
16:11
How To Make Your Character 's Head Always Face The Cursor In Unreal
5:12
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН