Jump to content
  • Advertisement
Sign in to follow this  
erm1

Local axis in non regular quad.

This topic is 2073 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

I have been playing around with this one for quite a while and the problem seems to be the way I am calculating  a local axis when I select a quad on  a mesh as the transform seems to work okay if the quad is symmetric but in a scenario where the quad tapers the transform appears to be slightly out. If say, the top line segment is shorter than the bottom segment and the left and right line segments taper out from top to bottom.

 

What I think it might be is that because of the taper the line segments are not perpendicular and that is where the problem might be as I am calculating the axis with the line segments and crossing them with the normal of the mid point.

 

Any ideas ?

 

 

Share this post


Link to post
Share on other sites
Advertisement
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!