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.

Newcomers AppGameKit Corner / Set3DPhysicsCharacterControllerGravity( objID, gravity )?

Years of Service
User Offline
Joined: 2nd Apr 2017
Posted: 21st Oct 2023 22:27
Hello. I have a question.
About Set3DPhysicsCharacterControllerGravity( objID, gravity ) command, the Help page says the gravity default value is (9.8 * 3)
Does that means the default gravity is 9.8x3 = 29.4?
What does the 3 actually means? It's not some kind of 3-way vector is it? In real life gravity is 9.8, but why is it need to be multiplied by 3 in AppGameKit?
Years of Service
User Offline
Joined: 12th May 2018
Location: Nova Scotia
Posted: 29th Oct 2023 00:26
Sorry late posting here and not sure this is going in right direction, but if the default setting for the Character Gravity is the same as the world's Set3DPhysicsGravity() then perhaps the x3 refers to X/Y/Z axis. Default is -10 in Y axis so thinking that might be it.

With Get3DPhysicsCharacterControllerGravity() only returning a single float I'm second guessing this...
Automation on Steam now!
Score Table Jr. on Google Play!
Years of Service
User Offline
Joined: 21st Feb 2020
Location: Australia
Posted: 29th Oct 2023 01:38
I was wondering if it relates to scaling to the bullet physics. To make things visually correct ???
BASIC appeared in May 1964. Lightning flashed, the wind roared and the Earth moved.
And nine months later I was born.
So here I am.
I am Basic.
Code is in my genes.

Login to post a reply

Server time is: 2023-12-04 18:59:59
Your offset time is: 2023-12-04 18:59:59