Reputation
297
Top tag
Next privilege 300 Rep.
Create new tags
Badges
3 10
Impact
~8k people reached

  • 0 posts edited
  • 0 helpful flags
  • 6 votes cast
Apr
15
awarded  Popular Question
Jan
2
awarded  Notable Question
Sep
21
awarded  Teacher
Apr
24
answered World Location issues with camera and particle
Apr
17
awarded  Good Question
Mar
23
awarded  Popular Question
Feb
7
comment Scrolling 2D sprites on a map with a camera
yes indeed it is much less painful. I adopted the view matrix approach a while ago and haven't looked back since my first stumbling steps.
Jul
27
awarded  Yearling
Apr
2
awarded  Popular Question
Mar
22
awarded  Autobiographer
Jan
27
revised snapping an angle to the closest cardinal direction
Added a correction to increase accuracy
Jan
27
comment snapping an angle to the closest cardinal direction
Anyone reading this answer later - Gregory's answer is a great approach, but can be very inaccurate (up to 45d/0.785r!) when dealing with negative angles. Please see my edit for a corrected, semi-optimized answer
Jan
12
awarded  Editor
Jan
12
revised snapping an angle to the closest cardinal direction
added 578 characters in body
Jan
12
comment snapping an angle to the closest cardinal direction
Thanks Gregory - your answer worked beautifully!
Jan
12
accepted snapping an angle to the closest cardinal direction
Jan
12
asked snapping an angle to the closest cardinal direction
Sep
6
awarded  Nice Question
Aug
12
accepted Scrolling 2D sprites on a map with a camera
Aug
12
comment Scrolling 2D sprites on a map with a camera
It appears that my problem, as usual was between the chair and the keyboard. The defect was actually in my collision detection - I was culling inactive collisions too aggressively from the collision list.