Game Development Community

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

#1
07/18/2006 (7:28 pm)
Errrmmm....

i didn't use setcontrolobject properly. should have done %player.setcontrolobject(%player)

Sorry! please disregard.

Thanks