≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
script 24: TypeError: other is undefined
Posted by:
(you are not logged in)
Enter the missing letter in: "Internati?nal"
(you are not logged in)
Text:
[quote][b][/b] wrote: well, this error was not due to the use of variable "this", it was actually due to the wrong use of vector3d. in your code you need to make sure when you are dealing with vector stuff you are providing or feeding vector3d stuff. like when you are using vector3d.add() or vector3d.substract() etc. whenever you see that "other" is undefined then it is going to be an issue with your vector code. [code] var v = new vector3d(1,2,3); var z = v.substract(); [/code] this should give you the same error, here "s" in the substract method is going to be the "other" variable for the vector method. [b]Edit:- Updated the code to show the correct error. It happens when you don't specify other vector or parameter to the vector method.[/b] hope this helps when you encounter this error in future.[/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