Jump to content
  • Advertisement
Sign in to follow this  
adriansnetlis

[UE4] Rotation aligning issue

This topic is 832 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

https://answers.unrealengine.com/questions/478614/set-object-rotation-relative-to-other-object.html

I have explained the problem in that article. Knowing the answer rates in UE4 answerhub I decided to ask here. How do I solve that problem? It should be easier with the functions aviable in UE4, but yet I have no idea where to start to make this... I hope that there is somebody who knows how to solve this, though!:D

Share this post


Link to post
Share on other sites
Advertisement

This is not that simple. This is even a very complex problem.

 

You can have some hints about how to solve your problems by reading these (first answers from my google query car physics and car collision physics):

 

http://www.asawicki.info/Mirror/Car%20Physics%20for%20Games/Car%20Physics%20for%20Games.html

 

http://www.animations.physics.unsw.edu.au/jw/car-physics.htm

 

http://ffden-2.phys.uaf.edu/211_fall2002.web.dir/ben_townsend/PhysicsofCarCollisions.htm

 

They look to cover what you are looking for.

Share this post


Link to post
Share on other sites

This is not that simple. This is even a very complex problem.

 

You can have some hints about how to solve your problems by reading these (first answers from my google query car physics and car collision physics):

 

http://www.asawicki.info/Mirror/Car%20Physics%20for%20Games/Car%20Physics%20for%20Games.html

 

http://www.animations.physics.unsw.edu.au/jw/car-physics.htm

 

http://ffden-2.phys.uaf.edu/211_fall2002.web.dir/ben_townsend/PhysicsofCarCollisions.htm

 

They look to cover what you are looking for.

Thanks! I'll look into those!:)

Share this post


Link to post
Share on other sites

Well, I know 2 of those articles already. I've solved most of those problems. Actually my problem now is correctly visualising car. And at this moment the visualisation problem is the camber angle. I can't find a good way to visualise camber angle that can change dynamically... And by visualise I mean applying calculated data to visual meshes of wheels.

Share this post


Link to post
Share on other sites

OK! So I decided to store the Y rotation in a seperate vartiable. Each frame I reset the wheel's relative rotation and than adjust the camber. After that I rotate the wheel around it's local Y axis by the variable amount. The result is statisfying :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!