≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Vector 3d class?
Posted by:
(you are not logged in)
Enter the missing letter in: "Internati?nal"
(you are not logged in)
Text:
[quote][b]Robo[/b] wrote: Yes, the hypotenus or straight line distance will be the result of using ".getLength();" Normally you want the distance between 2 objects so just get both positions and then substract them first for a vector3d difference before using ".getLength". Once subtracted you could also use the ".normalize();" function to get a base x,y,z amount difference to then multiple by some set amount - ie as is used in the Drag n Drop Behavior or picking up an object and seeing it come towards the player for example..[/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