seandewar / ue4bunnyhopcharacter Goto Github PK
View Code? Open in Web Editor NEW(August 2015) Raw code from an old UE4 project for a bunnyhopping player actor (with trimping & a Source engine stamina system)
License: MIT License
(August 2015) Raw code from an old UE4 project for a bunnyhopping player actor (with trimping & a Source engine stamina system)
License: MIT License
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.