Hi there
I am working on al simple minigame, where you have to ctach bananas with your hand
after compiling and pressing the P button
i got following error:
http://img60.imageshack.us/my.php?image=errortm7.jpg
here is the code
import GameLogic
scene = GameLogic.getCurrentScene()
Hand = scene.getObjectList()[“OBHand”]
move_H = getActuator(“move_H”)
Hand_start_pos = (-4.123,-2.67,0)
Arm = scene.getObjectList()[“OBArm”]
Hand_Position = Hand.getPosition()
Arm_Position = Arm.getPosition() #Get Position
Leer = getSensor(Leer)
if (Leer == 1):
move_H.setLinearVelocity(0.1,0,0,True)