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 / 3d physics?

Author
Message
Kobaltic
13
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 1st Mar 2013 17:49
I am trying to apply gravity to a 3d object but I can't seem to find any information on it. Could someone point me in the write direction? Thanks.
xCept
22
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 1st Mar 2013 21:12 Edited at: 1st Mar 2013 21:12
Physics is not yet available for 3D objects in AGK. I don't think there has been any indication when such a feature will exist, but Lee said TGC will likely work on improving the 3D command set for future releases (animations, more supported formats, etc).
Cliff Mellangard 3DEGS
Developer
19
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 1st Mar 2013 22:21
Quote: "I am trying to apply gravity to a 3d object but I can't seem to find any information on it. Could someone point me in the write direction? Thanks. "

If you check the theater sample that comes with the 108 beta so does it have gravity and sliding collision on the camera.
I suspect you want to have player gravity?

If you want some cool fake physics so can you use raycast bounce.
Baxslash made an cool snippet with 3d particles this way.

This sample make the 3d planes bounce of the main object

http://forum.thegamecreators.com/?m=forum_view&t=202537&b=41

This is how i do gravity on my dungeon sample.



To make the player jump do you simply give gravity a negative value like -40*GFT#

GFT# is getframetime()

I hope it helps.

Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz
Kobaltic
13
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 2nd Mar 2013 03:18
My goal is to make a simple 3d game with coins that fall and get pushed around. All I really need is gravity and collision -> to movement.

Login to post a reply

Server time is: 2025-05-22 03:55:01
Your offset time is: 2025-05-22 03:55:01