How can I make On Component Hit work like Event Hit?

a) both objects need generate hit events turned on.
b) on pickup bind Event from OnComponentHit in the grab function
c) unbind the event on release.

Grab

Hook up of events

Release

Inside collapsed hit reaction

Example scene with some slight touch ups of the functions (moved set current object order after grab + rotation)

Pickup with right mouse button or E

2 Likes