Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

138
Views
Add force to object by rotation

I want to add force to an object, by using its own rotation. For example, if I turn my object 90 degrees to the left. How can I add force towards, but consider the 90 degrees and not the local rotation?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I am not sure what exactly you want to do. What do you want to add force towards? Did you mean forwards?

Another question is also when do you add the force and 90° to left from what?

I assume this:

  1. the object you want to add force to is at some angle in the world
  2. the object rotates to 90° to the world's left
  3. at some time after the rotation you want to add force to it based on the rotation

If that is what you want then you need to:

  • specify first what do you measure the angle change from (the original angle) and save it in a variable
  • have a vector in the direction you want to add the force when the object has the above-mentioned angle
  • when you want to add the force, you need to calculate the difference between the current angle and the saved angle
  • rotate the vector based on the angle difference
  • add the force in the direction of the vector
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!