Hello! I’m currently learning scripting and I am using somebody else’s crater module for fighting abilities, currently its only functional on the floor which is great, but some attacks launch the enemies into walls and I want a crater to appear at a 90 degree angle on the wall. I’m not familiar with complex math in scripting and have no idea how to achieve this. I would greatly appreciate some help or a modified module to help make this functionality work.
TLDR: I’m using someone’s crater effect module and I would like it to work on walls instead of just the floor
Hmm I’ve created my own crater system in the past, I think what I did was create a part that acted as the origin in that that is the point all raycasts would fire from, I then did all the calculations of where the raycasts would fire to by using parts, I then put all the parts in a model and set the cframe of it to face the right direction, and then I sent of the raycasts to detect if it hits anything.
Clearly not the best way to do it but it worked nonetheless.