≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
How to Linepick Clones and animated Meshes??
Posted by:
(you are not logged in)
Enter the missing letter in: "Int?rnational"
(you are not logged in)
Text:
[quote][b][/b] wrote: So, I just created a sample scene that creates a clone of a cubemesh and checks the linepick with the cloned mesh that uses the example code from the documentation that draws red rectangle over the colliding node, and I checked it with the cloned node and it did worked correctly, just to confirm that It should work in Copperlicht, I tried this for webGL platform as well and it did worked in the webGL as coppercube webGL uses copperlicht so I am damn sure it will work with copperlicht too. You might be doing something wrong with your code of linepicking or something else. just to make sure that everything is working I added code to check the Collistion Point of world with the line code too, that will print the collision cordinates if mouse is over a 3D node, wether its the original one or cloned one it doesn't matter if there is collision it will return the cordinates, otherwise return null or 0, I checked that too in WebGL and that was working too. here is the link to the sample ccb file, that creates a clone and check the linepick with the cloned mesh.It uses the [b]"F"[/b] key to clone the "cubeMesh" and rename the clonedMesh with an incremented value so the Cloned mesh name will be "cubeMesh1" and there is an on frame event that check the linepick with mouse position and the cloned Cubemesh. [url]https://drive.google.com/file/d/19fovQL_K5VduEPhV5Jj-B5rI1dR4s1mI/view?usp=sharing[/url] hope this will help you.[/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