Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

DrSizzla

3D character aiming looking

This topic is 5558 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m not a programmer, but would like to find some opinions on a subject being discussed by our game team. What is the best way to create a 3D character look/shot rotation for when the player moves their mouse up and down. When playing a multiplayer FPS, you can see the other chracters moving their guns up and down with the mouse verticle motion. Whats the best way of putting this into our game. The horizontal motion is a simple rotate. But a vertical motion only rotates the face, arm and chest. We discussed various ways like, using a 3D bone system, rotating the upper torso, animating the angles in the 3D modeller. What do you think

Share this post


Link to post
Share on other sites
Advertisement
Animating angles are pretty memoryconsuming if you don''t use a bone system. So a bonesystem would be very pleasing.

Maybe you don''t even have to animate it by hand if you have a bonesystem. The programmers could make an algorithm that calculate the angle of the specified bones when looking up/down.

Share this post


Link to post
Share on other sites
Thanks for your comment.

The bone system, would use up less memory wouldn''t it. Plus it would make the modeling phase easier. Only tough thing is implementing this in the game code.

Share this post


Link to post
Share on other sites
Well, if you use bones, you can store two keyframes for the character pointing all the way down and all the way up, and interpolate between those, based on mouse movement, for all bones down the torso hierarchy (arms, head, gun, etc.)

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!