Sep29-11, 08:09 AM
Hi! I'm new to the forum, so I'll present myself.
My name is Christoffer, I'm 24 years old, and i work as a programmer. I have an amatuerish interest in math an physics, and I'm not completely lost in the field of math.
I have however encountered a problem in a program I'm writing, and I'm stumped.
I am "simulating" (it's not really a simulation, it just needs to look good) a tank moving along a given path made up from points.
Each time I reach a new point in the path, I start turning to the next point while pushing the tank forward in the direction it's facing.
This all works fine, the problem is adjusting the tanks velocity, since some turns may be too sharp, and the tank may never reach the goal.
I calculate the movement like this:
I have to find out whether a given pathpoint is unreachable, and in that case decelerate.
Again, I'm not looking for the physically absolute correct way of calculating the turning radius, I'm just wondering if anyone has got a smart way of getting around this problem.
Thanks in advance
P.S Sorry if my english sucks :/
|Register to reply|
|length of a pendulum based on speed and max angle||Introductory Physics Homework||10|
|Please set me straight about velocity based time travel||Special & General Relativity||1|
|Calculate displacement based on velocity and acceleration||Introductory Physics Homework||3|
|Velocity based frictional force equations||Introductory Physics Homework||2|