Basically, I’m trying to instantiate a breaching charge on a wall. It’s easy enough to instantiate on a fixed position, but I’m looking to pass two parameters into the PlantCharge() function that the contains my instantiation of the charge. I want to pass the two parameters, which will be the rotation and position of wall, but it seems that I’m stuck with Vector3 for the position and Quaternions for the rotation.
I was hoping to have the player plant a charge on a wall, and then have the walls position and rotation be the position and rotation for the charge.
Is it at all possible to take those two variables as parameters? I’m writing in C#.