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 6831745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:46:25+00:00 2026-05-26T22:46:25+00:00

My engine (AndEngine) provides the modifier to move an object by Bezier Curve path,

  • 0

My engine (AndEngine) provides the modifier to move an object by Bezier Curve path, just by providing 3 or 4 points co-ordinate.

In my game, I move some birds with determined 3 points. However, it looks fake because the birds always point to a direction.

This looks like a mathematical question, but I think I should post at StackOverflow instead of Math Exchange: How to determine the rotation angle (in radian or degree) for the birds at a time?

  • 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-26T22:46:26+00:00Added an answer on May 26, 2026 at 10:46 pm

    You will take two points say P1 and P2 and will find the angle between them and then rotate you bird on that angle

        deltaX = nextPointX - YourBirdX;
        deltaY = NextPointY - YourBirdY;
        degree = ((Math.atan2(deltaY, deltaX)));
        angle = degree * 180 / 3.14;
    
        if(angle<0)
        {
            angle = 360+angle;
        }
    

    I hope this will help you.

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

Sidebar

Related Questions

I'm developing a physics game using AndEngine with box2d physics engine. I have a
I want to do some automated datastore tests for the Google App Engine locally
I am using AndEngine (2D OpenGL-based engine). When i use textures with transparency (PNG
Im developing a game for Android using AndEngine. As of now, I want to
i've found that after resuming the game all the engine is reloaded and application
I am building a game engine (in c++) which is split up into multiple
Probably a lack of understanding of javascript here: engine.keyboard = {}; // keyboard object
I'm working on a little game/project and I decide to use AndEngine for it
I have a method in engine i'm using (andengine) : public final void setText(String
Im working with AndEngine in eclipse (which is a 2d physics/tiling engine) Everything works

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.