Well, if you know in advance what the house layout is (and it doesn't
change) then you can simply check the proposed new view position with
the known position of walls, etc., and prevent the view from crossing
these boundaries. This would be very efficient and not require java3d
based collision detection among scene graph geometry. You could also
have a height map that accounted for stairs. For simple scene graphs
this could work nicely, if not a crude simplification.
TBone
Manuel Braun wrote:
> Hi,
> I have trouble with Navigation.
> I'm using the KeyNavigatorBehavior to make it able to walk around in a
> house.
> But if i want to walk upstairs for example, I'll walk THROUGH the stairs.
> You also can walk through walls and other objects.
> So I'm looking for a solution for this problem.
> Will I need to write something with Collision detecting, or how to
> manage this?
>
> Please help.
>
> Manuel Braun
>
> ===========================================================================
>
> 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".