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.

DLL Talk / Sliding collision w/Sparky's DLL - Very strange little problem.

Author
Message
KISTech
16
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 10th Apr 2008 00:18 Edited at: 10th Apr 2008 00:53
I've searched and read for hours, and haven't seen this problem, so here goes.

My character walks along just fine on flat ground. I've set it up to print the normal of the spot the character is moving to, and as I watch that and move towards a slope, suddenly it slows down when the normals change from 1 to between 0.9999 and 0.9980. Once the normals either return to 1 or go below 0.998 everything moves at regular speed again. Any ideas what might be causing this slow down? It seems like just the slightest little bit of an angle on the ground causes it to slow..

I'm using Extended TerrainXYZ which is loaded as several objects. They're set for collision with sc_SetupComplexObject(x, 2). Buildings and such are also in group 2. The player is in group 1.

The code I'm using is from the Sliding Demo included with the DLL.

gravity# is currently set at -0.05
slope# is currently set at 0.93



Login to post a reply

Server time is: 2024-11-23 02:32:03
Your offset time is: 2024-11-23 02:32:03