Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am using XNA/C# to load up 3ds Max models exported in FBX format. Is there some way to mark a specific point in the model like the pipe of a gun so I can just refer to it and place a bullet in there directly to make shooting look good?

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

I'm not familiar with XNA specifically but most 3D development tools allow you to refer to bones in the model. In 3ds max just put a bone in the gun and then refer to that bone's position in your code.

share|improve this answer
    
I can confirm that this his how Unreal (at least the UDK) has been able to handle such things. –  SpartanDonut Feb 9 '12 at 19:49
    
All the packages I know of allow you to look up both raw and transformed bones by name. Most packages have a lightweight bone or node attached to a bone specifically for this purpose. There must be an example in XNA on finding a bone/node in an XNA model. –  Patrick Hughes Feb 9 '12 at 19:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.