BlazeHedgehog Posted June 23, 2010 Report Share Posted June 23, 2010 So I've been hung up on this all day today and I can't seem to solve it and I don't even know if it's worth solving. This slope should be steep enough to effect Sonic's running momentum, but it doesn't. Sonic runs down it without gaining momentum and runs up it without losing momentum. If I roll through this section, Sonic's momentum works just fine. I gain tons of speed spinning down the hill. But it seems steep enough that I should get a little just running down it. Of course, it's not as thought Sonic's momentum is busted. Half-pipes and loops still work as they are meant to. In the old old alpha of Sonic Worlds (or whatever it was called then) TFH was using, there was a single value that controlled Sonic's sensitivity to slopes. Since that alpha, Sonic's physics simulation got a lot more detailed and there is now over 5x as many variables. I've tried increasing "SlopeDecelerationFactor", and while that does increase Sonic's "weight" on certain steep slopes, it still does not effect the slopes I have pictured. There are plenty of variables for "RollingSlopeConversionFactor" but none of that seems to effect Sonic when he is simply running. Of course, I also have to wonder if maybe this is just my imagination and it's actually functioning properly to how Sega Genesis Sonic physics should be. But it certainly doesn't feel right to me. Link to comment Share on other sites More sharing options...
LarkSS Posted June 23, 2010 Report Share Posted June 23, 2010 iirc that's around the maximum slopes are allowed to be while being unaffected to physics. If it feels that bad, I think you may be able to find the limit somewhere in the slope calculation group. Link to comment Share on other sites More sharing options...
BlazeHedgehog Posted June 23, 2010 Author Report Share Posted June 23, 2010 I couldn't find anything to tweak what angles effect Sonic's momentum while running so I ended up just porting out the code for rolling up/down hills to work while he's running, but at a third of the strength of rolling. It seems kind of lazy and sloppy, but it works. Edit: And of course, right after that, I find the variable to tweak. Link to comment Share on other sites More sharing options...
Aikocho Posted June 23, 2010 Report Share Posted June 23, 2010 I couldn't find anything to tweak what angles effect Sonic's momentum while running so I ended up just porting out the code for rolling up/down hills to work while he's running, but at a third of the strength of rolling. It seems kind of lazy and sloppy, but it works. Edit: And of course, right after that, I find the variable to tweak. lool Well, I was about to say where it is too. EDIT: i just remembered something else... I just asked that not long ago. What's my brain age, again? Link to comment Share on other sites More sharing options...
Recommended Posts