Hey guys, iam working on something involving tanks and shooting. I intend to spawn a spark particle system (particles emit to Z) when a bullet hits a surface. I want to align the Z axis of the newly spawned particle system to be
a) in a 90 degree angle to surface that has been hit
b) in a reflective angle from the original trajectory
I know that i can "fake it" by setting particle Z to World 90 degrees, however then it will do so on any angled surface, while i would like to have the particle system dynamically orient itself in a 90 degree angle away from the surface that has been hit/ Or reflect into the direction away from the incoming bullet.
hope you can help me, getting quite frustrated.
i added a quick drawing of my intent