Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Sparky's sliding demo

Author
Message
qtuutr
14
Years of Service
User Offline
Joined: 30th Aug 2010
Location:
Posted: 14th Sep 2010 23:38 Edited at: 16th Sep 2010 19:13
He people, I've been trying to combine the terrain demo with sparky's sliding demo, and it does something odd:
If I try to walk up a slope I can't (because it is too steep), the screen goes all shaky!
Anyone else seen this and prefeb. solved it?
/edit
I think I found the problem, but no solution. If you step on to steep ground, it sends you back, but meantime you are walking up the hill again, being slid back again, walking up.......... you get it.
/edit
I've tried casting a raycast forward and checking it's normalY direction against the max slope you are allowed, but I dont't get the thing really, like is the returned normalY the normalY relative to the raycast or the normalY in absolute space (the coordinate system, wherein Y is straight upward)

Login to post a reply

Server time is: 2024-11-19 18:38:54
Your offset time is: 2024-11-19 18:38:54