branchrust_reboot/main/siege_weapons/hackweek_horse_rewritecancel
                         
                     
             
         
     
    
        
30 Commits over 0 Days - ∞cph!
    
    
        
            
            
            
                
                Fixed speed ratio calculated based on the current gait
Fixed NRE when jumping
 
                
                
                
                
                
             
         
        
        
        
            
            
            
                
                Better acceleration when towing
Limited to trot gait
+ some visual fixes and tweaks
 
                
                
                
                
                
             
         
        
            
            
            
                
                Implemented towing back on new horses
 
                
                
                
                
                
             
         
        
            
            
            
                
                Temporarly ragdoll the horse when colliding at high speed (wip stupid code)
 
                
                
                
                
                
             
         
        
            
            
            
                
                Restored hibox, protection, mounting logic and corpse
 
                
                
                
                
                
             
         
        
            
            
            
                
                Code cleanup
Collision damage tweaks
 
                
                
                
                
                
             
         
        
        
            
            
            
                
                Splitted the code in client/server files
Updated naming and moved everything in the right folders
 
                
                
                
                
                
             
         
        
            
            
            
                
                Replaced the metal bonk effect for something more appropriate
 
                
                
                
                
                
             
         
        
            
            
            
                
                Collision damage
Ragdoll the rider when taking too much damage (hitting a tree at full speed, running off a cliff etc)
 
                
                
                
                
                
             
         
        
            
            
            
                
                Horse head and body bounciness, so we don't lose too much speed when bumping on trees
 
                
                
                
                
                
             
         
        
        
            
            
            
                
                Physics tweaks, updated grounded checks
 
                
                
                
                
                
             
         
        
        
            
            
            
                
                Trying a wheel collider approach to reduce unwanted friction when riding on uneven terrain
 
                
                
                
                
                
             
         
        
        
        
            
            
            
                
                Horse gaits (walk, trot, canter, gallop)
Tweaked speeds
 
                
                
                
                
                
             
         
        
            
            
            
                
                Fixed inputs not set to 0 when dismounting
Added some debug to visualize forces
wee impulse forward when jumping
+ some tweaks
 
                
                
                
                
                
             
         
        
            
            
            
                
                Increased Y inertia tensor to fix the residual rotation caused by gravity
Reduced drag so the horse takes longer to decelerate from max speed to 0 after releasing inputs
 
                
                
                
                
                
             
         
        
            
            
            
                
                Fixed NRE in SkeletonEditor
 
                
                
                
                
                
             
         
        
            
            
            
                
                Changed rotations to use relative torque
Added some friction and restored drag
+ speed and collider tweaks
 
                
                
                
                
                
             
         
        
            
            
            
                
                Removed debug
Tweaked prefab rigidbody
 
                
                
                
                
                
             
         
        
        
            
            
            
                
                Better jump controls
Client head IK tweaks
 
                
                
                
                
                
             
         
        
            
            
            
                
                Horses can jump (wip)
Tweaked server colliders
 
                
                
                
                
                
             
         
        
            
            
            
                
                Handbrake so we don't slide down slopes
Somewhat working gravity
 
                
                
                
                
                
             
         
        
            
            
            
                
                Baseline
Horse movements using physics like vehicles