Head bob on movement?
by Robert Buckley · in General Discussion · 08/18/2005 (5:42 pm) · 4 replies
Is there any way to have a head bob action on the players movement. Many games have this feature but most of the games based on torque dont have it. I would assume it would be scriptable but I would like it to be hard coded. I looked in player.cc to see if their is anything that i could change but I am staring to think it is part of the camera. Also it might have to do with the players run animation. If the models run animation had the models head bob while running would the camera accuratly follow the players eye node? When i do that I get an error about the models eye node. There should be many ways to do this but how I have tried have not been successful.
Any suggestions?
Any suggestions?
About the author
#2
08/18/2005 (7:27 pm)
The weapon offset in first person over-rides the animation.. if you comment out the weapon offset, it will animate according to the mountpoint in the model.
#3
08/18/2005 (8:45 pm)
Excelent. I forgot about the weapon offset. the only problem now is that I may not be able to see my weapons. I guess i could always lower my eye node. Thanks for the suggestions. Its allways something easy like that.
#4
08/19/2005 (2:11 pm)
The offset doesnt seem to do it. Maybe I am doin it wrong but I was unable to find a weapon offset attribute. eyepffset was the only one I found that might be what you are talking about. I commented it out and It may be doing it but I dont notice it so its not as dramatic as I want it. I guess I will have to go with linking it to the animation by "parent(ing) the eye node to the head bone" Only problem is I dont actually ahve a main model yet. I have some content packs so I guess I can edit those to reflect this change.
Torque Owner Jeff Gran