Search found 6 matches

by krisbsx
Fri Apr 17, 2020 1:00 pm
Forum: Beginners Help
Topic: [SOLVED]CollisionResponseAnimator problem (frame dependent)?
Replies: 16
Views: 7516

Re: CollisionResponseAnimator problem (look frame dependent)

Yes CuteAlien, I tried with the latest "trunk" version like you said and there is no problem with this version.

I admit that I had not taken the time to test these versions before today* and that totally solves my problem :D !

(*I was using Irrlicht 1.8.3 then 1.8.4).

Thank you for taking the ...
by krisbsx
Wed Apr 15, 2020 11:26 pm
Forum: Beginners Help
Topic: [SOLVED]CollisionResponseAnimator problem (frame dependent)?
Replies: 16
Views: 7516

Re: CollisionResponseAnimator problem (look frame dependent)

Thanks for your answers, cuteAlien.

You know, I don't think the problem with gravity is only mine.
I think this is a problem inside Irrlicht and it may seem strange to many people who will try to make a basic game with Irrlicht only (although there may not be so many since there are many many full ...
by krisbsx
Tue Apr 14, 2020 7:05 pm
Forum: Beginners Help
Topic: [SOLVED]CollisionResponseAnimator problem (frame dependent)?
Replies: 16
Views: 7516

Re: CollisionResponseAnimator problem (look frame dependent)

Thank you for your answer, CuteAlien.

My test may not be reliable, I did it only to highlight the problem of gravity and maybe find a solution.

Your remark concerning the replacement of the velocity calculation by a loop is relevant.

I'm going to test this to see if it's conclusive for my little ...
by krisbsx
Tue Apr 14, 2020 12:51 am
Forum: Beginners Help
Topic: [SOLVED]CollisionResponseAnimator problem (frame dependent)?
Replies: 16
Views: 7516

Re: CollisionResponseAnimator problem (look frame dependent)

Thank you.

I will continue to try to understand the problem and find a solution. I could change for a physics engine like PhysX but my needs are very basic for now.

Here are the results of a little test:

I added a litte test in CSceneNodeAnimatorCollisionResponse::animateNode() to test the ...
by krisbsx
Tue Apr 14, 2020 12:39 am
Forum: Beginners Help
Topic: [SOLVED]CollisionResponseAnimator problem (frame dependent)?
Replies: 16
Views: 7516

Re: CollisionResponseAnimator problem (look frame dependent)

Thank you for your response, Seven.

(I have seen your post before your edit :wink: )

Sorry, i was thinking the gravity was frame independent. I seem to have seen it in different places that it did.

In addition I thought that the speed of gravity was calculated in the method ...
by krisbsx
Mon Apr 13, 2020 11:36 pm
Forum: Beginners Help
Topic: [SOLVED]CollisionResponseAnimator problem (frame dependent)?
Replies: 16
Views: 7516

[SOLVED]CollisionResponseAnimator problem (frame dependent)?

Hi there,

I am not quite a beginner on Irrlicht because I have been working on a small game for several years on my free time, however, I am confronted for a while on a small problem of beginner.

I noticed that the gravity affecting my player change completely depending on the framerate.

I use ...