The direction tag has no wiki summary.
1
vote
2answers
83 views
Correct way/How to think to plan out “control/animation flow”?
So basically, a problem I've had in past attempt at making games (little playing around with stuff): how to do a correct, non-sloppy way of planning the flow of animations/control?
Let's take an ...
1
vote
4answers
128 views
How to smoothly rotate a vector in a direction?
I'm looking for an easy way to achieve the following:
Object A, B
{
Vector2D position;
Vector2D orientation;
}
update(elapsed)
{
//rotate A's orientation in B's direction by x * elapsed ...
0
votes
1answer
48 views
How to determine the best approximate direction [duplicate]
I want to determine which sprite to use when one agent is "facing" another agent.
My game is 2d, and uses 8-directional movement. Deciding which sprite to use for movement is easy enough since there ...
1
vote
2answers
122 views
Determining if something is on the right or left side of an object?
I have a character in a 3D world which is facing an arbitrary direction on a flat plane, the player can click on the left or right side of the character and based on which side is clicked on a ...