3dsmax - Pass a specific point on a model to the engine -


i sorry if ask trivial question, have no idea how begin searching answer in search engine.

i understand how create model in 3ds max , load xna (for instance) program, need able pick point on model in 3ds max app , able trace it's world space position in xna app @ given point time.

why? need trace player gun's muzzle create muzzleflash effect in right spot when player fires.

i appreciate help, thanks.

well in xna problem solved quite copying bone transforms of point. 1 needs set point modelmesh in 3d creation tool. e. g. in 3ds max setting separate element of scene. in engine can access modelmesh .name propery , it's position doing model.copyabsolutebonetransformsto(). there few more steps do, if search copyabsolutebonetransformsto find need.

here stack overfrol article helped me:

position of modelmesh in xna


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -