Hello Telmo,
Telmo Nobre wrote:
> Hi Carsten
>
> I'm shure that the problem isn't in the keyboardFunc.
>
> Now I'm using a FlyNavigator and he works well, but I prefer the
> WalkNavigator because he have collision detection.
>
> I realize that with the walk Navigator the problems only begins when the
> position of Navigator is over something. If your position is not over
> the scene(in the space) the walkNavigator works well to, but when I go
> forward and step up to the sceen it seems like he make litlle jumps to
> walk forward. Maybe I need to configure something more on the walkNavigator.
have you tried different values for the argument you pass to forward?
How do these values relate to the size of your scene, i.e. in a large
scene the values should also be larger or you will be moving very slowly ;)
Another thought: does your framerate drop, when you are close to the
scene? The collision detection is not very sophisticated (i.e. it does
not make use of special datastructures to speed it up). Having a complex
scene or even just a complex object in it may cause the intersection
test that is used for finding collisions become very slow. Might that be
the problem?
If yes, you could try building a lower resolution version of your scene
and set that as ground/world for the WalkNavigator respectively.
Hope it helps,
Carsten
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users