Stuck when unmounting an object (as player)
by Shai Perry · in Torque Game Engine · 07/18/2006 (7:03 pm) · 1 replies
Hi,
When I'm mounting to an object and then unmounting from it, it seems that my keys are frozen (cannot move with keyboard or mouse).
%obj.mountobject(%player,0);
%player.unmount();
makes it so I don't have control to my player any more. and I've even tried setting control object (setControlObject) back to the player but it still doesn't work...
does anyone know why?
thanks
When I'm mounting to an object and then unmounting from it, it seems that my keys are frozen (cannot move with keyboard or mouse).
%obj.mountobject(%player,0);
%player.unmount();
makes it so I don't have control to my player any more. and I've even tried setting control object (setControlObject) back to the player but it still doesn't work...
does anyone know why?
thanks
Shai Perry
Default Studio Name
i didn't use setcontrolobject properly. should have done %player.setcontrolobject(%player)
Sorry! please disregard.
Thanks