CollisionReponseAnimator

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Jackie1234
Posts: 15
Joined: Thu Aug 18, 2011 11:50 am
Location: France

CollisionReponseAnimator

Post by Jackie1234 »

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.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: CollisionReponseAnimator

Post by CuteAlien »

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
Jackie1234
Posts: 15
Joined: Thu Aug 18, 2011 11:50 am
Location: France

Re: CollisionReponseAnimator

Post by Jackie1234 »

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 ?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: CollisionReponseAnimator

Post by CuteAlien »

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
Jackie1234
Posts: 15
Joined: Thu Aug 18, 2011 11:50 am
Location: France

Re: CollisionReponseAnimator

Post by Jackie1234 »

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).
Jackie1234
Posts: 15
Joined: Thu Aug 18, 2011 11:50 am
Location: France

Re: CollisionReponseAnimator

Post by Jackie1234 »

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.
Virror
Posts: 191
Joined: Mon May 02, 2011 3:15 pm

Re: CollisionReponseAnimator

Post by Virror »

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.
Jackie1234
Posts: 15
Joined: Thu Aug 18, 2011 11:50 am
Location: France

Re: CollisionReponseAnimator

Post by Jackie1234 »

I don't have the problem with a camera, but with an animatedMeshSceneNode what I move...
Virror
Posts: 191
Joined: Mon May 02, 2011 3:15 pm

Re: CollisionReponseAnimator

Post by Virror »

Haha, sorry about that, don't know what i was reading ; )
Jackie1234
Posts: 15
Joined: Thu Aug 18, 2011 11:50 am
Location: France

Re: CollisionReponseAnimator

Post by Jackie1234 »

up
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: CollisionReponseAnimator

Post by CuteAlien »

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
Jackie1234
Posts: 15
Joined: Thu Aug 18, 2011 11:50 am
Location: France

Re: CollisionReponseAnimator

Post by Jackie1234 »

a case ?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: CollisionReponseAnimator

Post by CuteAlien »

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
Jackie1234
Posts: 15
Joined: Thu Aug 18, 2011 11:50 am
Location: France

Re: CollisionReponseAnimator

Post by Jackie1234 »

Ok i understand. I will try to isolate the problem in order to post a case.
Post Reply