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"

[Question] Possible to get Landscape Polygon Tangent in Blueprint?n

I'm trying to create a type of ground-hugging hovercraft in Blueprint that will align it's rotation so that the bottom of the craft is always parallel to the surface below it (but only within a certain distance, so if you go over a cliff you will 'glide' through the air).

So when the craft is on a slope, it will rotate to be parallel with the slope (within a certain limit) but remain a fixed height above the ground so as to give the appearance of hovering. Ideally, it needs to be damped rather than applied harshly

Anybody know if this is possible in Blueprint?

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 02:55 AM in Blueprint Scripting

avatar image

ue4-archive ♦♦ STAFF
50k 3667 1996 9121

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

1 answer: sort voted first

I made this simple graph for you that aligns the mesh to the normal of landscape. Not sure if this might work for you. I have attached the example file with this answer. Feel free to download it and make any changes. Please let me know if it works. :)

alt text

Download ZIP file

testgraph.jpg (265.6 kB)
testmesh.zip (52.3 kB)
more ▼

answered Mar 11 '14 at 02:55 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3667 1996 9121

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:55 AM

Thanks for that Satheesh, unfortunately it doesn't work as this has to update every tick not as part of the construction script.

That does show me how to do a proper line trace though, so thanks for that! Also, the craft has physics of it's own, so as it impacts the terrain, this code forces it to behaves very strangely and 'dance around'.

What I should probably try to do is get the LIFT_SPRING section working first.

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:55 AM

Hey James,

We are glad to see you are on the right path for finding a solution to your inquiry! We are happy to address issues and questions explicitly concerning the functionality of the UE4 engine and editor, however it appears that your issue is more related to general game development and is beyond the scope of our support staff to address. We wish you success as you develop your game, and urge you to continue to reach out to the community and review available documentation if you find yourself struggling.

If you do determine that there is an issue with UE4 that is preventing you from obtaining your development goals, or if you have a focused question regarding the tools, then please do not hesitate to contact us and we will offer all available support.

Thank you,

-Steve

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:55 AM

If this helps, these are the style of Hover-Physics I'm trying to replicate:

http://www.youtube.com/watch?v=jFW_TpUA9Zs

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:55 AM

Or even better, this is one of my own videos of the same tank I'm using in the old game engine :)

http://www.youtube.com/watch?v=S-Z-oTdPjx8

(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