Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mantle with velocity #85

Merged
merged 2 commits into from
Dec 1, 2020

Conversation

seb-exiin
Copy link
Contributor

verify if the velocity is not to high on objects for mantling

see the difference:
https://youtu.be/9Q52tIWwDlo

seb-exiin added a commit to seb-exiin/ALSV4_CPP that referenced this pull request Nov 15, 2020
@dyanikoglu
Copy link
Member

It looks good, but before merging it, I need to extensively test the PR to make sure everything is working as expected.

if (MantleLedgeLS.Component != nullptr && !IsComponentVelocityValid(MantleLedgeLS.Component, AcceptableVelocityWhileMantling))
{
//The surface to mantle moves too fast
MantleEnd();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is a fallback, might not be the best way of doing it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to merge this PR as just to check velocity on beginning of the mantle, but not during mantle action. Ending mantle during animation may cause issues.

@dyanikoglu dyanikoglu merged commit 97ca23a into ShadowfallStudios:dev Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants