if i have X,Y(10,20) and the speed is 2, will be:
X = X + 2
Y = Y + 2
?
same goes for Z or it depends on direction?(Y or X rotation)
cambalinho
74
Practically a Posting Shark
Recommended Answers
Jump to PostOK. I'm doing this in 2D to save typing. For 3D just add a Z value.
You are at a point X,Y moving in a straight line. That means that at some regular interval you add something to X and Y. Let's call that a step. A step tells you …
All 4 Replies
tinstaafl
1,161
Posting Maven
JamesCherrill
4,667
Most Valuable Poster
Team Colleague
Featured Poster
cambalinho
74
Practically a Posting Shark
JamesCherrill
4,667
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.