I have a pickup object system in blueprint where player can hold objects via line trace and drop or throw it. After the pick up I disable collision between the object and pawn and re-enable it after dropping. Before dropping or throwing the hold object I want to check if it collides with player just to be sure it doesn’t result immediate collision between object and pawn. For some reasons when I drop object when looking straight down with pawn it actually drops the object and object freaks out and flings away.
Where is the part I am making a mistake or is there any alternate solutions for me? Thanks!
Might want to change Ignore to Overlap can´t Overlap something if you ignore it right?
I want to make it ignore overlap when holding the object. And player can only drop it if object would not collide with pawn.
Seems like a good time to use the MoveIgnoreActorAdd() function?
You can add to any Actor a list of Actors to ignore collision with.
Can use it so your player ignores his equipment or equipment can ignore the player.
So in what magical ways you figure out if its overlapping the Capsule if you tell it to ignore it? It will always return false. Set it to Overlap and go from there.
I made it overlap. But still I can drop it even when it collides with the pawn.
Looks like the objects’ presets were preventing it from overlap. Thanks anyway.