#Hi there, I got this script, and it is

1 messages · Page 1 of 1 (latest)

ebon mesa
#

Does the OnCollisionEnter method ever get ran? You can test this by using the debugger or using Debug.Log("ran") at the start of the function

devout quarry
#

Oh man

#

I just turned off my pc

#

Imma try this tmrw

#

But thanks 4 the tip

ebon mesa
#

Alright

#

If it runs, then it's an issue with the tag. If it doesn't, the collision is not registering and maybe it's because one of the objects don't have a rigidbody (unlikely but possible)

devout quarry
#

Hmmm...I just tried something. In the editor, instead of childing the "Attack" under my player, I made it it's own object and it made it collide with the enemy via a rigidboy and I got the message? I guess I just need to make a few tweeks...

#

BRUH I am a moron. You were right, it didn't recognize the collizion because I childed the attack under my player, WHO HAS A Character Controller. kekwait