Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Relating to the motion of objects through space and time. Including concepts such as acceleration (thrust and gravity), mass, collision response, friction and more.
1
vote
1
answer
134
views
How should I update vectors, et cetera, in a time-based fashion?
I'm trying to write something I believe is straightforward but wanted to check that I'm doing it right.
All I want is to update the position of a 2D sprite based an acceleration and velocity. I'm usi …
1
vote
0
answers
125
views
How to apply physics when you have sub frame state changes?
Maybe the key presses themselves need to be fed directly into the physics code (so that it can have access to durations and order of events) and then it (the physics code) updates the states accordingly … I.e. should it be:
Input -> state change -> physics
Or should it be more like:
Input -> physics -> state change
I've seen state machines used with event systems before. …
1
vote
How to build a bones animation engine?
Check out the skeleton animation tutorial over at Rookscape. It's VB based but the theory should be sound. Also take a look at some of the other tutorials if need be...
HTH