The directional facing of an entity in the game space.
1
vote
1answer
34 views
How to check default axis orientation on device?
I am developing a game which uses the accelerometer to move the character. It works fine on all the mobile phones tested on.
However when testing on a tablet, it seems the y and x axis are reversed I ...
3
votes
2answers
425 views
Using orientation to calculate position on Windows Phone 7
I'm using the motion API and I'm trying to figure out a control scheme for the game I'm currently developing.
What I'm trying to achive is for a orienation of the device to correlate directly to a ...
3
votes
1answer
53 views
How to map absolute Joystick position to object rotation?
In my (Ogre) 3d scene I have an object that should be rotated locally based on Joystick input. I have a Joystick with min/max values of [-32767, 32767] on both X and Y axes. When the Joystick is in ...
3
votes
1answer
187 views
Quaternion Look At with Up vector
I have implemented a "look at" method for my screen elements and it almost works how I want it to work.
The ScreenElement class uses a R3 Vector and a Quaternion to determine the position and ...
3
votes
2answers
271 views
How is the gimbal locked problem solved using accumulative matrix transformations
I am reading the online "Learning Modern 3D Graphics Programming" book by Jason L. McKesson
As of now, I am up to the gimbal lock problem and how to solve it using quaternions.
However right here, ...
10
votes
4answers
941 views
Why is Y up in many Games?
I learned at school that the z-axis is up. It is the same in modeling software like Blender. However in many games the y-axis is up.
What is reason?
1
vote
2answers
195 views
convert orientation vec3 to a rotation matrix
I've got a normalized vec3 that represents an orientation.
Each frame of animation, an object's orientation changes slightly, so I add a delta vector to the orientation vector and then normalize to ...
3
votes
1answer
99 views
How to make an object stay relative to another object
In the following example there is a guy and a boat. They have both a position, orientation and velocity.
The guy is standing on the shore and would like to board. He changes his position so he is ...
3
votes
0answers
295 views
Setting Orientation of Character in Bullet/Ogre [closed]
I've been suffering from an issue regarding the implementation of orienting characters in a game I'm implementing using Ogre3D and Bullet physics.
What I have: A Direction Vector that the character ...
5
votes
4answers
1k views
X, Y, Z coordinate standards?
I'm pretty new to 3D development of any kind, nonetheless games. As I read through tutorials and examples, I find that the X/Y/Z coordinates seem a bit backwards than my first guess.
I had imagined ...
5
votes
1answer
1k views
Rotate object to face player
This is probably a simple vector question, but I'm not sure how to do it.
I have an object at vector position (ox,oy). Potentially every update, the user walks around the screen, and will be at ...
6
votes
1answer
211 views
Changing orientation by applying torques
Suppose you've got an object floating freely in space. You have a vector you want this object to point towards, and a vector representing the direction it's currently facing. From these two, you can ...
3
votes
1answer
189 views
Follow point of interest by applying torque
Given a body with an orientation angle and a point of interest or targetAngle, is there an elegant solution for keeping the body oriented towards the point of interest by applying torque or impulses?
...