12 years, 1 month ago
Highlights
Thanks got it! I ended up doing this for anyone interested: glm::vec3 Entity::getDirection(void) { if (parentEntity == NULL) { return transform.getDirection(); } else { r…
12 years, 1 month ago
Hi guys! So I have a 3D vector representing the direction a object is facing in my game engine, I calculate this direction by multiplying the objects rotation (which is a…
12 years, 1 month ago
14 years ago
Hi, I've been working on getting some object to orbit around another object by using a spherical coordinate system. This has worked fine when the object is orbiting horizont…
14 years ago
So any suggestions as to how I should go about manipulating phi and theta correctly to achieve the orbit in the second picture?
14 years ago
Latest Activity
See all in DiscussionsThanks got it! I ended up doing this for anyone interested: glm::vec3 Entity::getDirection(void) { if (parentEntity == NULL) { …
12 years, 1 month ago
Hi guys! So I have a 3D vector representing the direction a object is facing in my game engine, …
12 years, 1 month ago
So any suggestions as to how I should go about manipulating phi and theta correctly to achieve the orbit in …
14 years ago