Velocity is added up depending the axis

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Apeirogon
Posts: 1605
Joined: Mon Jun 12, 2017 12:57 am

Velocity is added up depending the axis

Post by Apeirogon »

After spawn hold "shift"/+speed button five seconds.
Turn left 90 degree. Hold "shift"/+speed button five seconds.
Again turn left 90 degree. Again hold "shift"/+speed button five seconds.
Finaly turn left 90 degree last time. Hold "shift"/+speed button another five seconds. Take care of your head.

This happens only if player move at any sharp angle in positive direction of world X axis. Negative directions decrease "jump" height.
axis bugs.zip
(1.53 KiB) Downloaded 31 times
User avatar
Gutawer
Posts: 469
Joined: Sat Apr 16, 2016 6:01 am
Preferred Pronouns: She/Her

Re: Velocity is added up depending the axis

Post by Gutawer »

I'm failing to see what exactly the bug is, here. Your code has the line:

Code: Select all

owner.vel = (x_vel, y_vel, owner.vel.x + 5 );
So yes, this makes the z axis velocity dependent on the x axis velocity when using your dash feature. This is a problem with your code, not GZDoom, unless you're just communicating what the bug here is badly.
Post Reply

Return to “Closed Bugs [GZDoom]”