[SOLVED] Collision Problem for activity

we have this little activity that when the character hits the object, it gets destroyed, yet a simple collision i can’t do… please help, i don’t know what i’m doing wrong T^T

https://playcanvas.com/editor/scene/1904400

Hi @John_Bryan_Panotes and welcome!

I don’t see anything wrong in your setup, but when you move a kinimatic rigidbody with translateLocal() I suggest not to move the rigidbody by applyForce() as well. (I’m not sure if this has any effect on a kinematic rigidbody to be honest).

image

Can you try to disable the applyForce() lines?

i removed the codes you mentioned but unfortunately, it still doesn’t work D:

image

The letter S should not be capitalized.

IT WORKED!! THANK YOUU SO MUCH YOU’RE A LIFE SAVER!!
I’ll be careful next time with the capitalization stuff … Thank you again so much !!

1 Like

hello! sorry for the trouble… my friend also has the same problem i did, but she’s using dynamic for her rigid body and i’m not sure if it’ll be different in her case

https://playcanvas.com/editor/scene/1904224

Just to be sure, are the changes made to the script saved?

image

yup, she said it has been saved there.

Yes, I see now it’s working. :smiley:

1 Like

omg sorry for that! she told me that she was indeed saving it but i think because of her wifi, it wasn’t reflecting… anyway thank youu really !! we appreciate the help so much !!

1 Like