How would I go about making flying mechanics for a dragon?
The best example I found was this video for what I'm looking to (hopefully) achieve. I've gotten as far as pressing a button to enable/disable flight, and actually moving in-flight along the X and Y axis. But that's about it... Doesn't help that there's practically no tutorials around to help with it. Any help is appreciated!
asked May 12 '18 at 08:43 PM in Blueprint Scripting
Nebula Is Right. What You need to do is somehow trigger a event / change mode when the dragon's Claws/ Feet Touches the ground. Else if u collide with a wall it is going to change ur mode to Walking. However Here are the things u need to look into: 1-) Changing Movement Modes on Different events 2-) Animations - Search Youtube for This.
answered May 13 '18 at 06:07 AM
So As I have Already Said:
Try Using a Key For Changing modes instead for example a key for landing.
also i dont get what do you mean by changing mode to only walking?. Just Set The Mode To Walking Thats it.
You Can Have A Button For Fly Or If You Want your character to fly only while falling u can try using the node "is Falling"
i can think u need to drag out a pin from the Movement Component [The Character Movement.] and then create the is falling node from there.
Also Raytracing might work. but i suggest having a collision or tag of some sort for landing.
in Bigger Worlds this might be a problem thou. but if u can get the claws of the dragon have collision it would be better and easier.
i dont know if raytracing will work this way at all. but if u can make a raytrace for checking if there is anything downside within a small raytrace length the dragon will be able to land. Use Timers for Raytracing and use booleans so that if there is ground and user presses a specific key he will land (which might also trigger another bool)
answered May 17 '18 at 11:00 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here