Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3758432
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:09:39+00:00 2026-05-19T10:09:39+00:00

Can forces be stored as dot products? such as the gravity on a planet.

  • 0

Can forces be stored as dot products? such as the gravity on a planet.

And for a game, for example a 2d spaceship game. would one add a right thrust vector and a left vector to power the ship and move it around. then this would mean the angle of the ship shown on screen is computed from those vectors and the player would have no control over the actual angle of the ship.

Is this correct?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T10:09:40+00:00Added an answer on May 19, 2026 at 10:09 am

    As for your first question, yes. Why wouldn’t you be able to? Though I would store gravity as just a value, and then calculate the weight of the object.

    If I understand you, you are asking whether you should have the right key of a spaceship as a vector force to move left or to have the right key rotate the ship? The first idea seems more logical; if your spaceship is stuck in a place such as this:

      _
     |*|
     | |
    _| |___
    |_______
    

    (Excuse my poor ASCII; it’s meant to be a ship stuck in a vertical dead end) your first solution would cause the ship to ricochet in the tunnel. Your second solution (applying a rotation directly) would simply have a ship rotating. Which would seem very unnatural if the tunnel was narrow.

    Look up rotation matrices.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I force validation when user clicks button? One would think this should
How Can i force one Mootools ToolTip (Tip) to Open? Regards, Pedro
Users can upload files to the server, which are stored effectively forever. I want
I try to work on a Force based 2D ship game. I have Forces,
I'm creating page where users can upload/download pdf files which is stored in mysql
I am coding a feature in a program where users can edit documents stored
I am executing a stored procedure that has no return value. How can I
I am using Sphinx quite often. There is one index that calls a stored
I'm looking to add a Download this File function below every video on one
Since I can't use Microsoft as an example for best practice since their exception

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.