Archived

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

DrSizzla

3D character aiming looking

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
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