c# - Ray hit testing with Model3D -


i need test ray-model intersections. know there build in method test ray intersection viewport3d ( https://blogs.msdn.microsoft.com/wpf3d/2009/05/18/3d-hit-testing/ )

i can't find way use test model3d. need test whole model intersection, not visible part.

any appreciated.

ok. think have found solution. can is:

modelvisual3d testmodel = new modelvisual3d(); testmodel.content = model;     //model model3dgroup ... rayhittester(testmodel, origin, direction); 

and works supposed!


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -