CollisionReponseAnimator
-
- Posts: 15
- Joined: Thu Aug 18, 2011 11:50 am
- Location: France
CollisionReponseAnimator
Hi,
I think there is a bug with the collisionReponseAnimator.
When i use it, he work's perfectly, he detects all the collisions, but sometime, there are "invisible wall" in the map.
I have try to simplify the metaSelector, look the wireframe of the map, but i don't see where is the problem.
If you can help me for fix the problem, thank you.
PS : Sorry for my bad english.
I think there is a bug with the collisionReponseAnimator.
When i use it, he work's perfectly, he detects all the collisions, but sometime, there are "invisible wall" in the map.
I have try to simplify the metaSelector, look the wireframe of the map, but i don't see where is the problem.
If you can help me for fix the problem, thank you.
PS : Sorry for my bad english.
Re: CollisionReponseAnimator
Try working with a higher slidingValue (you can set that in createCollisionResponseAnimator) - otherwise can be very prone to get stuck.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 15
- Joined: Thu Aug 18, 2011 11:50 am
- Location: France
Re: CollisionReponseAnimator
Hi and thank you for your answer,
but i have try a lot of slidingValue, but I have always the problem.
Have you got an other idea ?
ps : there isn't documentation about the sliding value.
What is it and what is the min/max of this value ?
but i have try a lot of slidingValue, but I have always the problem.
Have you got an other idea ?
ps : there isn't documentation about the sliding value.
What is it and what is the min/max of this value ?
Re: CollisionReponseAnimator
Yeah, sorry - it's not documented and so I'm also not sure about that one... I only know that it sometimes helps trying different values when the collision gets stuck. I've not worked enough myself yet with that code (I always used my own collisions in my projects).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 15
- Joined: Thu Aug 18, 2011 11:50 am
- Location: France
Re: CollisionReponseAnimator
Ok, but I don't know what I can doing...
I will test with a very simple mesh for my terrain.
If after the collisions is always bugged, may be a problem with Irrlicht (because for my problem's test, I have just put the terrain's mesh in the selector).
I will test with a very simple mesh for my terrain.
If after the collisions is always bugged, may be a problem with Irrlicht (because for my problem's test, I have just put the terrain's mesh in the selector).
-
- Posts: 15
- Joined: Thu Aug 18, 2011 11:50 am
- Location: France
Re: CollisionReponseAnimator
Somebody has an idea ?
-The walls hasn't on a vertex or an edge
-When I am to a A pos and I go go to a B pos, no problem. But there is this wall when i'm to B and I go to A.
-The walls hasn't on a vertex or an edge
-When I am to a A pos and I go go to a B pos, no problem. But there is this wall when i'm to B and I go to A.
Re: CollisionReponseAnimator
Sliding value only sets how steep slopes the camera can climb, wont help against this issue.
I also have this issue with the built in fps-cam.
The built in cam is not good and should be replaced by a custom camera, its mostly just for demo/testing. For example its based on fps and not time.
I also have this issue with the built in fps-cam.
The built in cam is not good and should be replaced by a custom camera, its mostly just for demo/testing. For example its based on fps and not time.
-
- Posts: 15
- Joined: Thu Aug 18, 2011 11:50 am
- Location: France
Re: CollisionReponseAnimator
I don't have the problem with a camera, but with an animatedMeshSceneNode what I move...
Re: CollisionReponseAnimator
Haha, sorry about that, don't know what i was reading ; )
-
- Posts: 15
- Joined: Thu Aug 18, 2011 11:50 am
- Location: France
Re: CollisionReponseAnimator
Can you make a case where we can reproduce that? It's very hard to help otherwise.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 15
- Joined: Thu Aug 18, 2011 11:50 am
- Location: France
Re: CollisionReponseAnimator
a case ?
Re: CollisionReponseAnimator
Well, a testcase so we can reproduce the problem.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 15
- Joined: Thu Aug 18, 2011 11:50 am
- Location: France
Re: CollisionReponseAnimator
Ok i understand. I will try to isolate the problem in order to post a case.