Is there a way to just let the upper body or certain parts of a player follow the camera?
i mean like in the third person shooter s4 league:
the hands holding the weapons and the face of the player would follow the camera/mouse while shooting.
Is there a way to just let the upper body or certain parts of a player follow the camera?
i mean like in the third person shooter s4 league:
the hands holding the weapons and the face of the player would follow the camera/mouse while shooting.
Have you tried experimenting with a ‘track to’ or IK constraint on a bone controlling the head? Maybe have an empty that moves based on mouse input and the bone tracks to the empty.
IK constraint, dont know what it is,never used it or learned it x)
thanks doakey
sounds like the right thing i need
now i have to learn more about it :RocknRoll:
I use track to, but you have to use the armature -> run armature logic brick to make it work.
What about track to?
you can use either to do this
so you want to aim on the screen with the mouse, and move using keyboard? and if mouse is near edge of screen apply torque?
So mouse can aim, turn etc, and then feet are WSAD etc?
yeah you are right
i tried IK (didnt look well, dont know if i just set it up the wrong way)
but track to constraint worked perfectly
why applying torque?
im using the mouselook script from tutorials4blender and the thirdpersonlook-script from mobious
yeah aim with mouse
feet are WASD
ok now i got a different question:
is there a way to activate the constraints with the keyboard-sensor?
What type of constraint?
you can have it swap a item, or ?
what do you need to do?
the apply torque could be replaced with AngV or Drot, but Drot will allow you to rotate though objects,
The idea is that when the mouse is near the edge of the screen, turn the screen… so you can use the mouse to turn left/right/up/down and to aim in the screen when not near the edges
at the moment im using the track-to-constraint
but its activated the whole time
and i just need it if i press the left mouse button(=while shooting)
hmm if i understood you right i dont need it because with the mouselook script the camera will automatically turn around while following the camera
guys thanks for your help
i got it
i made an empty that follows the mouse
and a track-to-constraint on the arm to follow the empty (thanks to doakey3 and blueprintrandom)
and i can turn the constraint on with the mouse sensor and the armature-actuator(thanks to cam.dudes)
you can see the project im working on
in the picture that im using as my avatar
Well, happy blending!!
thanks happy blending you all!!!