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.

AppGameKit Classic Chat / Movement over a 3D Terrain stutters

AGK Developer
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 21st Nov 2018 21:16 Edited at: 21st Nov 2018 21:36
I have created a little demo (attached) of pushing a box around a surface. It stutters a litttle on the flat surface which i figure i can sort out by scaling the scene up.
The major issue is when it moves over the hill (which is a SetObjectShapeStaticPolygon) in the center of the area.
It stutters a lot and sometimes the box will float up into the air.
Does anyone have any ideas on how i could avoid this odd behavior? Is SetObjectShapeStaticPolygon the right option?
Many thanks for any help


Login to view attachments
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 21st Nov 2018 22:06 Edited at: 22nd Nov 2018 07:04
Playing with the cars mass might help

I set it SetObject3DPhysicsMass( car,10)

and got some might fine air lol

but seems when the mass is too high it barely wants to move

I also tried setting the hill to a convexhull collision shape which did seem to stop the problem you mention
but then it drove through the hills and slowed slightly because of collisions

I think Nomad did something similar but cant find it

Login to post a reply

Server time is: 2020-02-26 11:25:46
Your offset time is: 2020-02-26 11:25:46