|
Post by darkhavoc on Sept 5, 2017 8:05:55 GMT
so im trying to make a multiplayer fps and 3rd person later on the problem here is in the first person mode in game but i cant seem to get only my characters head and upperbody n arms to face the same way as the first person camera i do know how to attach them to a camera via scripting but this.. im not so sure .. anyone got any advice
ps: the skinmesh bone control was also one of my ideas... i didnt work so well any help would be greatly appreciated
|
|
|
Post by GH Games on Sept 5, 2017 8:45:53 GMT
To do this all you need to do is create a custom first person camera. This way you can use fps and tps by just switching the cameras.
To create a custom one you use the character object, I'm sure someone has made a tutorial on it before.
|
|
|
Post by darkhavoc on Sept 5, 2017 10:34:50 GMT
Ok the cameras arent the problem its making a player models upper half of his body face the same way your camera points so when your opponents or allies see your character they can tell what you are looking or aiming at.... I honestly had no clue you could create custom cameras it is something for me to look into but how do i get the player model to act as ive described above??? Got any ideas to share with me??
|
|
|
Post by GH Games on Sept 5, 2017 13:15:52 GMT
Yeah if you create a Custom FPS Camera the camera and player will be synchronized... meaning they will rotate together.
|
|
|
Post by darkhavoc on Sept 6, 2017 2:49:27 GMT
Huh thats pretty cool actually....do have an example project i can use to get this result by chance??
|
|
|
Post by darkhavoc on Sept 7, 2017 4:19:10 GMT
Sorry if that seems ungrateful wasnt trying to sound needy i was just wanting to find more info on the custom camera idea like how do i setup one.... What all would i have to do to it
|
|
hawk
Full Member
Posts: 69
|
Post by hawk on Sept 7, 2017 5:16:19 GMT
darkhavoc, in addition to the custom setup GH suggested, if you want to only move the upper body to face the direction of the camera -such as in the instance of looking up or down without flinging your legs into the air- the simplest way would be to split your model into 2 pieces from the waist. then attach the upper body to the setup, so it rotates as usual. and use a script to copy the location of the upper half of the body to the lower half, and copy only some axis from the rotation of the upper body to the lower body (i.e: only the sideways rotations). This would create an odd split in your character model, so the other way would be to rig the character and do the same as above but by manipulating bones near the waist of the model. I'm sorry I don't have access to 3DRAD at the moment to make a working example, and I stayed away from too many technical terms, hope this makes sense.
|
|
|
Post by darkhavoc on Sept 7, 2017 10:00:05 GMT
Ok thats not a bad idea im defenetly gonna look into that
|
|