Hi everyone! This is a general question that I hope I can get some clarification on. But I'm getting the vector direction, angle, distance, and dot product of an object. I cannot for the life of me understand what some of the output means or how I can use it to set conditions in my code for the direction. For example:…
Thank you so much for the explanation! I sincerely appreciate it. I've been doing Udemy 3d math for gaming to help understand this. It's helped a little. But I'm thinking I need to take a linear algebra course, which I never took in school. For context, I'm using the data to rotate a rocket and depending on it's tilt, I…
You may need to brush up on some linear algebra it seems, I'll help you understand what you've got but it's worthwhile doing some internet digging. It's a little tricky to understand you without knowing all the inputs and context to this though so this is the best I've come up with without much thought: Direction Imagine…
Yeah vectors are perfect for this. So I'm guessing you have a rocket which has something like 4 RCS modules spread out around the middle of the craft? Then whichever is closest to the ground is activated? You could do that with dot product. So you need to get the direction the models are facing somehow, in Unity it'd be…
That's almost exactly the scenario and yes it's in Unity. I'm really enjoying working in it. But the difference being that the thrusters are on either side of the rocket and are used to stabilize versus landing. So if I rotated on one axis, the particles on that side would be enabled to rotate it straight again. Same would…