Olezen / UnitySourceMovement

Source engine-like movement in Unity, based on Fragsurf by cr4yz (Jake E.).
MIT License
313 stars 46 forks source link

Step Offset Doesn't Work for 95% of the Time #12

Open Fronkln opened 4 years ago

Fronkln commented 4 years ago

Step offset only works once, then never executes again

Can't move up simple stairs like this with step offset 1 and without step offset image

Fronkln commented 4 years ago

The issue comes at here after the initial step offset image

froyo4u commented 3 years ago

I have managed to fix it

Fronkln commented 3 years ago

I have managed to fix it

What is the solution?

froyo4u commented 3 years ago

I may upload the source code to my version of this engine and you can look through. Jist of it: I have a variable for when the player is landed and I define it by whether or not they've jumped (used for other stuff). And instead of the groundTrace.hitCollider == null I use my variable instead. I also subtract a certain amount from the y coordinate of when it teleports you up the step.

Thundros commented 3 years ago

@MeowMC : PLEASE upload a stair climb fix!!!!!!

Thundros commented 3 years ago

Hello?

Thundros commented 3 years ago

.....

Fronkln commented 3 years ago

No hope!

froyo4u commented 3 years ago

I'll upload a fix soon, just haven't gotten around to it. Plus I think I changed other things so I have to check what I changed that fixed it

Fronkln commented 3 years ago

Hype

Thundros commented 3 years ago

@MeowMC : Can you please upload the fix?

Thundros commented 3 years ago

@MeowMC : Hello?

Thundros commented 3 years ago

Can SOMEONE PLEASE fix the staircase issue?! It's driving me NUTS!

Fronkln commented 3 years ago

Me too man, me too.

Thundros commented 3 years ago

For god sake.... @Fronkln , can YOU do something or know someone who CAN do something?!

Thundros commented 3 years ago

Can someone PLEASE help!!!

Thundros commented 3 years ago

..................................................

Tristan-W commented 3 years ago

@Thundros Not a perfect fix by any means, but got this functional to the point where it should be decent enough for the project that I'm working on, so perhaps it will help you. See the following pull request: #20

jfallz commented 1 month ago

For anyone wondering still stuck on this, made a PR regarding this issue that's a bandaid fix but makes normal stair use 100% viable.