Tagged Questions
4
votes
1answer
1k views
Turning a sprite such that it rotates in the direction that's most efficient
I have a sprite that moves from waypoint to waypoint. It turns to face its velocity vector, but not instantly (there's a rotation speed).
The problem I'm having is, from one direction to another, the ...
4
votes
3answers
590 views
How to calculate origin and position of a weapon which should be “in hands”?
I'm currently stuck with my game, which is from the top perspective. I'm currently using these sprites for player: (using the second at the top):
And here's what I use for my gun
My problem is ...
1
vote
2answers
819 views
Transformation order when dealing with Meshes
I have created a player model out of primitive types. To do this I have created a Model class and Component (mesh) class. Each model consists of one or more components my problems start when you have ...
3
votes
1answer
260 views
Jittery Movement, Uncontrollably Rotating + Front of Sprite?
So I've been looking around to try and figure out how I make my sprite face my mouse. So far the sprite moves to where my mouse is by some vector math.
Now I'd like it to rotate and face the mouse as ...