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.

Dark Physics & Dark A.I. & Dark Dynamix / Setting gravity to individual objects

Author
Message
Benjames8
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 12th Feb 2010 22:52
I got phy set rigid body gravity int val,int val. I looked in the physics referance and couldn't find it. My question is what do the two values represent?
Sepnon
14
Years of Service
User Offline
Joined: 7th Feb 2010
Location: Brazil
Posted: 13th Feb 2010 04:01
Rigid body ==> Properties

PHY SET RIGID BODY GRAVITY

Description
Enable or disable gravity for a rigid body.

Syntax
PHY SET RIGID BODY GRAVITY ID, state

Parameters:
ID
ID number of the rigid body

state
0 to gravity CCD and 1 to enable it

Return
n/a
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 13th Feb 2010 10:40 Edited at: 13th Feb 2010 11:03
here what it should say in the help files.

the command lets you take an object out of the gravity system.



demo of it working..



Dark Physics makes any hot drink go cold.
Benjames8
14
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 13th Feb 2010 23:23
Thanks guys.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 13th Feb 2010 23:26
your welcome.

just shout if you need more help the few on here that know how might be able to help.

If I don't jump in to answer it will be because I don't know or haven't touched it yet.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-11-24 14:49:49
Your offset time is: 2024-11-24 14:49:49