Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  
MuFake

Placing an object relative to contact points on Terrain

Question

Hey, I am using a physicsless plane controller and I am trying to make it land on the Terrain. I have 3 contact points (the landing gear) and I want to make them stick to the terrain when there is a force pushing the plane down.

I just want to know how can I make those 3 contact points no go through the ground, and keep the plane object stationed on the Terrain.

Please login or register to see this attachment.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Your best bet is to use physics collision (wheel colliders) instead of programming that from scratch. Not to detour you away from doing it, but the reason is because in order to do that yourself and get the plane leveled correctly, you will need to create your own physics methods and trig calculations, which is equal to slapping wheel colliders on and calling it a day

Share this post


Link to post
Share on other sites

  • 0

Thanks for explaining it to me, I have tried using hte Wheel Colliders, but the problem is that the plane does not use Rigidbodies and its quite glitchy to just add force downards, I might just leave out the landing for a while and comeback to it when I come up with an idea. Thanks again.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...