Download

bomb planting system (need Help)

Is there a way of getting the rotation/ angle of a single face of a mesh and rotate the bomb to perfectly align with the face

hi @MasterToxic

Sure, you need to get " face"
there are a bunch of ways for different thigns like is a static mesh? is skeletal mesh?
lets say you can hit the face with a raycast,
you can obtain the normal of the impact point.
than you can create a rotator from 3 vectors,

thx for your reply, I’ll look into this, ok got it working but when i place it on a vertical face it was a 45 degree rotation instead of it being vertical with the wall

Well that will be because the x and y rotation is changing as well. You probably just want to change the Z rotation if you want it to stay upright