Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
How can I get the collision point of the current frame of an animated mesh with a line? I tried the following: //other_node is an animated mesh node var other_selector = new CL3D.MeshTriangleSelector(other_node.Mesh, other_node); var collisionPoint = other_selector.getCollisionPointWithLine(startLine, endLine, true, null); But I get "k.MeshBuffers is undefined". Any suggestions how to do this? thanks! |
||||
|
Hm, yes, I think currently, there is no real support for a polygon based triangle collision with animated meshes. You could do this with the bounding box, but for real, exact collision, there would be some small extension necessary. |
|