TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
worldisflat
NA
7
0
Vector2 Acceleration Maths
Apr 27 2009 6:12 AM
Hi, I am writing a game in which an object at a PointF travelling at a current velocity (Vector2) is trying to reach a destination PointF (which can change between movement steps) At each step of movement I need to decide the acceleration vector that will get to the point the fastest. So the result should be the ship adjusts its current velocity so that it always moves towards the target point at stead acceleration unless doing so would mean there isn't enough time to slow down before reaching it in which case it should begin decelerating. This has been doing my head in a bit and the code I have at the moment seems to just make the ships orbit the point: How do I post code on this forum?
Reply
Answers (
0
)
not getting the send ACH response
how to get multiplied value in colum3 of datagridview