Giter Club home page Giter Club logo

ue4bunnyhopcharacter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ue4bunnyhopcharacter's Issues

Question(s) about your bhop code...

Hey man, this is probably not the right spot for such question but i am kind of desperate and i didnt find another way to contact you..

So i stumbled upon your Project and i was quite amazed by your results in the youtube videos.
I thought i try to implement this using blueprints (which i do reget a little bit i have to say) but i'd like to stick with it.

I used your code as.. inspiration so to say. but it just doesn't work right. And there are a few things i dont understand.

I just try to get the bunnyhopping going for now, all the rest is work for another day (stamina, water friction, Trimping, etc).

In your CalcVelocity function there is a lot of stuff i dont comprehend right at the start. I feel able to follow again right before you apply friction, what is nescessary in this function just for BHopping? What does ApplyRequestedMove? and what is bForceMaxAccel?
Also you use a Variable named "Accelerate". And i dont really understand what this value is. I thought it would maybe the the recent acceleration from the characterMovement componant, but that cant be because if its zero there is no way to actually start accelerating. Without using it, or using 1 in its place makes my Actor go.. suuper slow. it seams to be necessary, or something else in my BP is way off..

And then I thought its directly from the input, but in this case i don't understand how it can have magnitudes that differ from 1.
Also where would there the difference to wishSpeed then..?
Is it just for Analog controls? (where its possible to accelerate just, eG. 30% speed?)

If you have no time, motivation or just not feeling to respond I can understand, but if you do I would be highly highly thankful.
Its just the start for me in unreal engine, and the next step will be code for sure, I thought BP would be easier to start out but just 3 lines of code can be a mess with blueprints...

I got a few screenshots here to, i tried to tidy them up as much as I could.

Acceleration "function":
AccelAlt

Friction "Function":
friction

Actor base values:
valuesActor

Movement Component Values:
valuesMovementComponent

Again, if you can help me out here, or maybe just parts of my question, or whatever, i would be really grateful!

Greetings from Vienna,
thanks for the awesome Project!
Marcel

Edit: I did not do anything to prevent friction from kicking it yet, so I know BHopping would not work yet, but i tried to get the basics down first, like.. walking normally

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.