0
$\begingroup$

I managed to be able to control my player hand with mouse using mouse actuator.However, the hand move at the opposite direction i want. For example , when i move mouse down , the hand go up .And when i move my mouse around , the hand kind of turn around .Twisted hand

enter image description here

What is wrong with my actuator settings? Here is the sample file: http://www.mediafire.com/download/1sz9taf3bd8j28u/samp.blend

$\endgroup$

1 Answer 1

0
$\begingroup$

to reverse the hand direction set the sensitivity to -1.0 :

enter image description here

also pay attention to the local/global axis you are using ,the camera was turning in the right direction because you used the local axis while the hand local axis are not in the right orientation

$\endgroup$
8
  • $\begingroup$ I am really grateful that you help me . But i have a few questions. How do i set the hand into the the right orientation ? And the gun doesn't point towards the middle of the camera, how to make it point towards the middle? I tried adjusting the Min and Max . It works but not really accurate. Is there any other way? $\endgroup$
    – XavierChoo
    Commented Feb 20, 2015 at 13:09
  • $\begingroup$ @XavierChoo for now i think you should keep the hand as it is since it's working (although you can "apply Rotation" to change the local orientation but this may mess up the animation you have ) , and for aiming you can take a look at this and if you need more help just ask :) $\endgroup$
    – Chebhou
    Commented Feb 20, 2015 at 18:25
  • $\begingroup$ Amazing ! Just what i need ! But i don't really understand the explaination of the py from David . His testing demo file was removed . Can you show me an example of it? That would really help me out. $\endgroup$
    – XavierChoo
    Commented Feb 21, 2015 at 2:52
  • $\begingroup$ I changed my rig into something that can move much more realistic . But the hand weight paint doesn't work as well like the previous one. So i am stuck at making it point towards the center. This is a personal request but can you help me check out my new rig and make the hand and head point towards the mouse? If only i finished this , my game will almost be complete since i know how to make good AI . Please help if you can . Sry for the trouble and thanks alot.Here is the file mediafire.com/download/rpvgidxbadd517s/Sample.blend $\endgroup$
    – XavierChoo
    Commented Feb 21, 2015 at 7:53
  • $\begingroup$ @XavierChoo Hi there, this may be late but I'll try to work on that and since I have no prior experience I may take some time $\endgroup$
    – Chebhou
    Commented Feb 22, 2015 at 17:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .