Java3D & collision avoidance

Posted on 2003-03-26
Medium Priority
Last Modified: 2007-12-19

i'm trying to program a 3D virtual space in Java3D with avatars moving around. To simplify the problem: I have a Branchgroup for my world and one for my avatar. When I check for collision between this two branchgroups with WakeupOnCollisionEntry and WakeupOnCollisionExit I get a strange result. When my avatar is inside my world I always have collision. It doesn't react with the walls from my world but with my whole world. As soon as I move the avatar away from the world the collision stops. It seems like every branchgroup has a sphere (or something like this) around it and Java3D does a simple collision check looking only this spheres and not the real surfaces and, because my avatar is in the world, the avatar's sphere is also in the world's sphere and this gives collision.

Can anybody tell me how to avoid collision with other surfaces on the world and how to add it to my avatar's branchgroup? And, if possible, where to find a good tutorial and/or source code?

Question by:MacAngus
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 8210354

Accepted Solution

sfotex earned 225 total points
ID: 8214280

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question