I’ve read all that I could find on this issue but I’m still having the problem with the projectile hitting the caster on spawn. I’ve tried the following with mixed results:
- set collision of spawned actor to “Always Spawn, Ignore Collision” ← object spawns but then immediately collides with the actor who spawned it.
set projectile collision to BlockAllWorldDynamic ← seemed to work for a while but then didn’t on repeated tries.
set projectile collision to Custom with custom collision channel → collision query only → ignore pawn ← seemed to work at first but didn’t on repeated tries. Also tried creating a separate channel for the player and having the player identify as that channel.
- on collision hit for particle collision body → get instigator → if instigator is not other actor → do stuff ← this also seemed to work at first but then later didn’t. If the projectile is hitting the instigator it just stops moving.
The only solution that gives a passable result is moving the socket out of the ship’s cannon but then if the ship is moving fast enough, it will hit it anyway.
For the collision body, I’m just using a sphere collision.