Hi,
additional information:
- Using Java3D 1.2 works much better (why ???)
- If I reset the view to (0, 0, offset) before the collision test the results
with Java3D 1.2 seem to be correct (not with Java3D 1.2.1_01), but I
need to use Java3D 1.2.1_01 for other reasons :-(
Regards
Florian
Florian Arnold wrote:
> Hi,
>
> I've got a problem concerning collision detection. More concrete: What I'm going to
>do is
> to detect and highlight all colliding faces of two already colliding objects (which
>do not
> move at all during collision detection).
>
> So, what I'm doing is:
>
> for all models
> for all faces
> add a CollisionDetector object (incl. WakeupOnCollisionEntry(
> shape,
>
> WakeupOnCollisionEntry.USE_GEOMETRY))
> end
> end
>
> I'm using two different kinds of models/faces: Based on IndexedTriangleArray or
>TriangleArray.
>
> Two problems arise:
>
> (1) If both models are based on TriangleArray the collision detection works right in
>most cases
> but sometimes one of the colliding faces is not detected. The error is not
>clearly
> reproducable.
> It seems to be depending to the view position. Reason ???
>
> (2) If one model is based on IndexedTriangleArray and one based on TriangleArray only
> some of the colliding faces are detected. The error is also not clearly
>reproducable.
> It seems to be depending to the view position, too. Reason ???
>
> Any hints are appreciated...
>
> Regards
>
> Florian
>
> PS: System environment: Windows NT 4.0, SDK 1.3.1-beta, Java 3D 1.2.1_01
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".