Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Does your character have a rigidbody, and a collider? If so, then you may want to re-check the name of the room trigger.

Yes he has both and the room name is right. I think the issue is that he is always willing to interact with the player even when he is supposed to be in cooldown. How would I disable his collider when he is meant to be in cooldown?

inside of the OnTriggerEnter script, make sure to add something like "this.dragcooldown <= 0" inside of the if statement.

(+1)

I got it to work! Thank you for the help, this worked.