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)
Answered by JamesCherrill 4,667 in a post from
Jump to Post
OK. 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
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.