Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

UE 5.3 Project file 

password=CLM_cyc

5.4 Project Files
Password=CLM_Cyc54

Files

Previews only

(No title)

Comments

Diego BarGlez

Hi! When the rider starts riding I want the pedals move faster. I mean, I want to implement a gear system and when 1st gear is set you move the pedals fast to ride and when 10st gear is set you move the pedals slow. I suppose I must edit the vehicle component, adjust the RPMs, Torque curve and many things, but you think is possible to do it, any suggestions? Also I notice the bike not speed up a lot when riding from higher points to lower points, I've tried this with Mediterranean Coast asset and feel the elevation doesn't speed up enough the bike.

CodeLikeMe

The chaos vehicle component used in this system already has the gear ratios setup and you can modify them as you see fit. There is a separate AnimBP for the pedals and currently it only uses the velocity of the vehicle to determine the pedal rotation speed. If you get the current gear and derive the rotation rate based on that, you will be able to achieve what you need.

Sarah Reen

Hello! I am swapping the bike over to the Enhanced Input System, but I'm finding that the Reversing is not working as intended. The speed is not being capped at its Max Rev Speed, and I believe this is most likely because the Enhanced Input System does not run every single frame as the old input system did. Do you have any suggestions? Thanks!

CodeLikeMe

perhaps you can try adding the input in the tick instead of giving it through the enhanced input event