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

  • Home
  • SEARCH
  • 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 887275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:12:21+00:00 2026-05-15T13:12:21+00:00

I am making an application for 3d ball balancing game on j2me, I need

  • 0

I am making an application for 3d ball balancing game on j2me, I need to move my 3d ball on my ball path. I can get both ball and path object as a mesh from m3g file.

How I will know that my ball is in the path or not ?
Is there any notification I can get for interaction of two meshes ?

Thanks in advance…

  • 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-15T13:12:22+00:00Added an answer on May 15, 2026 at 1:12 pm

    How to detect a collision:

    At each frame, you need to compute the distance from the center of your ball to each of the polygons of you meshes. If the distance is smaller than the radius of your ball, then there is a collision (and penetration).

    How to respond to the collision:

    Keep the previous spatial state of your ball in memory, once you know there is a penetration, go back in time until the penetration is only a contact. Then, starting from there you have to decide how you want the ball to responde to the collision (bounce ?). Just make sure that you prevent the ball from penetrating the mesh.

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

Sidebar

Related Questions

I'm making a Java application with an application-logic-thread and a database-access-thread. Both of them
I'm making a web application and I got the design for it from a
Can anyone tell me the best way to go about making an iPhone application
im making an application that needs to get received messages that were sent to
i making a application where i need total amount of data used by user
I am making a application in which i go from one view to another
I am making an application that fetches data from internet like web service,so it
i m making an application where data is accesed from website and displayed with
I am making an application that deals with vehicles. I need two DropDownLists: Makes:
I am making an application to change the the resolution of that game, to

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.