≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
I need help detecting collisions with custom scene nodes. I put a custom node in an official tutorial and it's not solid.
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b][/b] wrote: I fixed one problem. I wrote "[b]new TriangleMeshSelector[/b]", but the correct way to write it is: "[b]new CL3D.TriangleMeshSelector[/b]". Now, I found a new problem. I searched the forum and tried to decipher Niko's old posts for clues, and the culmination of information led to the creation of this code: [code][b]var TriangleSelectorOfCubeNode = new CL3D.MeshTriangleSelector(cubenode.Mesh, null, null, cubenode); var colanimator = new CL3D.AnimatorCollisionResponse( new CL3D.Vect3d(20,40,20), // size of the player ellipsoid new CL3D.Vect3d(0,30,0), // position of the eye in the ellipsoid scene.getCollisionGeometry()); cam.addAnimator(colanimator); colanimator.setWorld(TriangleSelectorOfCubeNode);[/b][/code] With that code, I see this error in the console of my Firefox browser: [code][b]TypeError: this.Node is undefined triangleselector.js:239:6[/b][/code] I wish I could pay a professional for private lessons of CopperLicht. I want to know if I am dumb or if I just need all of the information displayed with super-clear instructions before I fully understand them, meaning I would be only halfway dumb. I don't yet know if I am dumb, but until a perfect piece of evidence arises, I shall continue to search for answers. Before I die, I may be crushed by what I find, because the answers I obtain, are not the answers that are kind. The answers that are kind, may not be able to be real, because the limits of my mind, I may wish to soon conceal. *devil*[/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