Jump to content
  • Advertisement
Sign in to follow this  
Fl4sh

Game problem

This topic is 2783 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

"An object in your game is currently moving along the line y = 2/3x + 20. When it gets to the point (30,40), the player presses the directional button, forcing the object to turn 90° to the left and continue along that line. Find the equation for the line of the new path."

Share this post


Link to post
Share on other sites
Advertisement
Trick question with ambiguous wording. No force has been applied to change the object's momentum, so the object continues along the existing line, and simply has a different orientation.

If your homework wants you to find the equation of the line that is perpendicular to the first line and intersects at that point, it should have just said so. Games don't use 'y = mx + b' equations.

Share this post


Link to post
Share on other sites

This topic is 2783 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!