Download

Custom projectile actor bounce problem.[SOLVED]

Hey everyone Need help with bouncing projectile.

I made my own projectile actor. It has a collision capsule. and a capsule shaped static mesh.

In order for the bounce to work. The collision capsule must be at the top of the component hierarchy. The problem is that when I set the capsule collision at the hierarchy top, suddenly the rotation, and location options for it are disabled, making it impossible to set the rotation and location of the capsule in the direction I want. I tried to change the capsule before I set it on top of the hierarchy. But when I do, all the changes made to it dissapears. The capsule becomes to big, and facing the wrong way.

Any advise is helpful.

Edit: I have solved the problem. No need to reply to this.