Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Gravity

Talk about anything related to Platinum Arts Sandbox here!
Locked
Lokkje
Member
Member
Posts: 1
Joined: August 15th, 2010, 11:04 am

Gravity

Post by Lokkje »

Hi,

Is there any way to disable gravity altogether?

And would it be possible to set an object to have a local gravity? i.e. an object that when you go near it your affected by gravity.
User avatar
Bigboss
Member
Member
Posts: 282
Joined: July 23rd, 2010, 1:35 pm
Name: Naked Snake
Contact:

Re: Gravity

Post by Bigboss »

maybe you can set a trigger and have that happen but no ways to disable
I will look into this a bit
Zombie map (Version 2) Image
Image
Want a user bar like this one? PM Leo
Image
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Gravity

Post by chocolatepie33 »

You can't turn gravity off, but you can lower/raise it by typing "gravity ####" in the console. Gravity goes from 10 to 1000.

To make an object gravity affected, you could add a trigger with this code:

Code: Select all

level_trigger_1 = [edittoggle ; gravity #### ; edittoggle]
I don't think mapmodels are affected by gravity, though...
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
User avatar
Runescapedj
Member
Member
Posts: 1706
Joined: January 9th, 2010, 9:06 am
Name: Michiel
IRC Username: Sandboxdj
Location: Deventer, the Netherlands

Re: Gravity

Post by Runescapedj »

If you put your whole map in water, it's close 2 no gravity
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Gravity

Post by chocolatepie33 »

Yeah, but then they'd know they're in water...
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
User avatar
Runescapedj
Member
Member
Posts: 1706
Joined: January 9th, 2010, 9:06 am
Name: Michiel
IRC Username: Sandboxdj
Location: Deventer, the Netherlands

Re: Gravity

Post by Runescapedj »

couldn't you change the color of water so that you won't notice + delete sounds of swimming?
User avatar
Bigboss
Member
Member
Posts: 282
Joined: July 23rd, 2010, 1:35 pm
Name: Naked Snake
Contact:

Re: Gravity

Post by Bigboss »

you could delete the file when you release it but if you do have water instead of no gravity there is no sound
i think
Zombie map (Version 2) Image
Image
Want a user bar like this one? PM Leo
Image
Locked