When I change the Object Type, it doesn’t respond to collision in the other class. It’s probably related to me changing the Object Type. I customly made it an ‘Interactible’ object type (Following a tutorial). How can I solve the issue?
- Your Collision Response is Block not Overlap. You should use On Component Hit instead of On Component Overlap.
- Edit > Project Settings > Collision > Presets : check how other profiles are responding to your new Object Type.
In your Collision Component > Details panel check for Events. There you will find On Component Hit ( above On Component Begin Overlap ) you should use that event.
Unfortunately doesnt work. I want to print text on the screen when I throw the Garbage actor into the Bucket actor. That’s actually what I’m trying to do. I write these codes to the Bucket class. Am I doing it right?
What type is containr?
Check if S_Plastic… doesn’t have collision it may be blocking containr collisions.
Use Print Text before the cast to confirm that the function is beign called.
Use Print Text in Cast Failed to confirm it’s not failing.
Did check how other profiles are responding to your Object Type collision?
No, I didn’t do the check you said. These are the Collision settings of S_Plastic. I’m still in the learning phase. I’ve been trying many things for hours (at amateur level) but I haven’t succeeded yet. Should I change S_Plastic’s settings?
No problem!
You should use S_Plastic’s On Component Hit ( or On Component Begin/End Overlap if Generete Overlap Events is checked and other Actor response is Overlap ) because that’s where your collision component is.
You can delete containrs’s collision events.
You should check the collision component in the other Actor too. If it still doesn’t work, please, post the image of your collision component Actors, both showing their collision preset as you just posted.
I did Begin Overlap. But i think problem is Custom Collision at Denemee* class. When i turn BlockAllDynamic, has worked. But when i turn Custom>Interactible, doesnt work
Btw Deneme Class’s Event Graph is empty.
You should check how other profiles are responding to your collision:
Edit > Project Settings > Collision > Presets
I found and i create Interactible. But i dont know how i check this part. By the way, thank you so much for your time
Click in each Preset’s profile and mark Interactible as Block, is just that. Your image shows Visibility’s Block checked, for example.