Hello I'm new to UDK,
I want to be able to Touch the player pawn and drag it around. I followed Epic's example in their Mobile Input System document and it works for any of my custom pawns except the one spawned by the PlayerStart. When I touch one of the manually placed pawns, I get back its name. But when I touch the pawn spawned by the PlayerStart, I get back WorldInfo_3. I believe it is failing to find the actor at this line in the PickActor function:
PickedActor = Trace(HitLocation, HitNormal, TouchOrigin + (TouchDir * PickDistance), TouchOrigin, true);
I've searched for days trying to figure out the difference between the manually placed pawns and the PlayerStart pawn in relation to tracing it to find the touched object, but no luck. Any help is greatly appreciated, thanks.



Reply With Quote

Bookmarks