Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi Niko. Can you please point me on the syntax of material (Boolean} ClampTexture1 ? And if it's possible can you give me an example on how the CL3D.MeshTriangleSelector works with getCollisionPointWithLine? Thanks. |
||||
|
simply use something like yourMaterial.ClampTexture1 = true; Should do the trick. getCollisionPointWithLine() is shown in tutorial 6: http://www.ambiera.com/copperlic... |
||||
|
The tutorial 6 uses a ccbjs file from coppercube.Is it possible to provude me with the code that it should be added in tutorial 3 in order to have a getCollisionPointWithLine() between a line and the custom mesh? Thanks. |
||||
|
You simply need a triangle selector for this, you can construct one from your scene node using new CL3D.MeshTriangleSelector(Mesh, scenenode); This has the method getCollisionPointWithLine() |
|