WohlSoft / MiniPhysics-By-38A

A tiny physical engine made by 5438A38A in VB6 and ported into C++ with Qt and improved by Wohlstand
GNU General Public License v3.0
4 stars 1 forks source link

Snapshot issues report #2 #2

Closed Alucard648 closed 7 years ago

Alucard648 commented 7 years ago
  1. Debug information appear glitchy.

debug_1

  1. Also character velocity info is missing.
  2. Walking up one slope causes character to walk straight into another one.

slope_walk1 slope_walk2

  1. Jittering of ground detection when standing on slope top without any additional support.

jitter1 jitter2

  1. False cliff detection when going down slope.

false_slope_cliff

Wohlstand commented 7 years ago
  1. Because I wasn't cared about coordinates of labels yet EDIT: Oh, when I came to job and I see from monitor, not from phone, Now I see that font is buggy :stuck_out_tongue_winking_eye:
  2. I disabled printing of it, because no more needed, but I can enable it back
  3. That already planned to fix in todo: a "between floor and ceiling" trouble.
  4. That one thing still not be fixed after fixing of jittering on slope surface
  5. Wasn't completely done, this is last thing to fix to take accurate cliff detection
Alucard648 commented 7 years ago

Also apparently walking horizontally from one block to another resets horizontal velocity. This is why mid-air movement seems faster.

Wohlstand commented 7 years ago

Wired that debug info printed at you so wired, mayby a some bug in the fonts at you? I'll try to set Courier New font. At me font printing works fine 2016-07-25_12-00-56

Alucard648 commented 7 years ago

For me, it looks like this: too_fat Windows 7 sp1. Also the same pic shows new issue from newest snapshot: since you expanded character size, he sometimes fall into one-block wide holes, sometimes refuses to do that at all. Another issue with slopes: on rare occassion when walking down slope, vertical velocity resets to 0, which causes character to "bump" off slope.

Wohlstand commented 7 years ago

That wired, because at job I have same Windows 7 sp1. About stumbling at rectangular block's corners, that I saw too, so, trying to fix that

Wohlstand commented 7 years ago

EDIT: Just found that corner stumbling effect causes zeroing of Y velocity on coming to bottom of the slope :stuck_out_tongue_winking_eye: I think, I have idea how to fix, will try that

Wohlstand commented 7 years ago

All of those troubles are been resolved, I'll upload new snapshot bit later. Alone task I have - improve accuracy of cliff detection and don't hit crusiging cellings or while stucking between slope and selling

Alucard648 commented 7 years ago

Will it be possible to have things like:

  1. Half-Solid platforms and slopes/stairs.
  2. Gravity flipping.
  3. Pushable NPCs, including being able to push massive stacks of NPCs under certain conditions.
  4. * Advanced 360 degree slope movement physics for Sonic the Hedgehog-like games.
Wohlstand commented 7 years ago

1) yes, that very important 2) That is not hard, while collusions are working fine 3) that is not hard to, just using another collision solving formula for pushable npcs 4) that is not so easy to have physics with rotation of elements, and need to use very another formulas for collision processing which is not compatible with current physics

Wohlstand commented 7 years ago

Okay, those bugs are been fixed. If you wish keep new suggestions, please in new issue