≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Help connecting the dots.
Posted by:
(you are not logged in)
Enter the missing letter in: "Interna?ional"
(you are not logged in)
Text:
[quote][b][/b] wrote: Not sure if this is exactly what you need, but you could try this: basically, you have two points, and want to get the rotation of a line between them, correct? To make the code simpler, I'll name the first point p1 and the second one p2, and assume they are of type CL3D.Vect3d: [code] var lineVector = p2.substract(p1); var rotation = lineVector.getHorizontalAngle(); // now set rotation: section0.Rot = rotation; [/code] It could be that you need to rotate the rotation by 90 degrees or similar, based on the model of your section0. Hope this is what you wanted :)[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact