Car picking up items

Im trying to make a game where i’m driving a car and it collects coins and adds them up. I tried watching a tutorial and it only shows how to do it with a player so the variables and stuff are different

bump bump…

Your Coin BP needs a sphere collision.

On event begin overlap (car collision and coin collision) -> destroy coin -> increment count.

yes its the count part that i cant get working, the car picks up the coin but when i looked at a tutorial for adding the coins up whenever i pick it up its only for a player character

Your car is your character. So you should have a counter int var in its class.

Create an event in the car class called “Increment Coins”. Execute ++ ( counter ).

In your coin class … Event begin overlap -> cast to car class -> call Increment Coins -> Destroy coin.