它以相同角度在另一行上制作的平面?
我有一个平面网格,用户将以他的欲望取向旋转,然后我有我创建的线,以便它可以通过该平面。现在,用户可以根据需要使用变换控件旋转平面网格。旋转后,我们的平面最终取向,通过平面中心的平面正常和线具有一定角度。
我拥有的另一行与第一行完全不同。我想在这条线上创建平面,该线的方向与以前的平面相同,并且与正常平面在其中心线上的角度相同。
我不想更改线的位置,因为两个线的位置都很重要。
我该如何进行,我尝试将旧平面克隆并将该平面放在新线上,但它的角度与以前的平面没有相同的角度。
这是 link 我创建的实时代码沙盒。
按A在第二行中创建平面。
I have one plane mesh which will be rotated by user for his desire orientation then I have line which I create so it will pass through that plane. Now user can rotate plane mesh using transform controls as he want. After rotation we have final orientation of plane now that plane normal and line which passed through center of plane have some angle.
Another line I have is in a completely different position than the first line. I want to create plane on this line which will have same orientation as previous plane and make same angle as previous plane normal is making with its center line.
I don't want to change the position of the lines as both lines position are important.
How Do I proceed I tried Cloning old plane and placed that plane on new line but it is not making the same angle as previous one.
Here is the Link to Live code sandbox I created.
Press A to create plane on second line.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论