≡
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: "Internationa?"
(you are not logged in)
Text:
[quote][b][/b] wrote: I uncovered the answer! So many hours! Countless hours! Beyond sleep and time! This is the answer: [code][b]var TriangleSelectorOfCubeNode = new CL3D.MeshTriangleSelector(cubenode.getMesh(), cubenode); var colanimator = new CL3D.AnimatorCollisionResponse( new CL3D.Vect3d(6,12,6), // size of the player ellipsoid new CL3D.Vect3d(0,0,0), // position of the eye in the ellipsoid scene.getCollisionGeometry()); colanimator.AffectedByGravity = false; cam.addAnimator(colanimator); colanimator.setWorld(TriangleSelectorOfCubeNode);[/b][/code] I will now try to discover why that solution doesn't work for scene nodes that are imported with the OBJ Loader from the other thread in this forum.[/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