[UDK3 Scripting]

Hello guys o/
I’m trying to make a racer game like Mario Cart but I’m having troubles with my collectable actor. When I script it I used the standard collision code:




simulated singular event Touch(Actor Other, PrimitiveComponent OtherComp, vector HitLocation, vector HitNormal)
{
    if(Pawn(Other) != None && Pawn(Other).Controller.bIsPlayer)
    {
        SRG_GameInfo(WorldInfo.Game).DestroyTarget(self);   
    }
}



While I’m using a normal player (like IronGuard) it work perfectly but when I use the Starter Racer Game (The starter kit for racing games)
my car is blocked by my actor. Is this any other code that solves it?

I could be wrong but I think you want to check that the mesh component for your collectable actor has bCollideActors set to true, and bBlockActors set to false.

If you haven’t already, you may want to check the UDN doc on actor collision: UDK | CollisionTechnicalGuide