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 / CreatePhysicsForce example please

Author
Message
pinete
12
Years of Service
User Offline
Joined: 28th Jul 2011
Location:
Posted: 18th Aug 2011 13:25
Hi!
I'm just wondering if someone could help me out with this command, as I'm trying to make some kind of force (wind box) that push a ball when it goes through the wind box but my attempts has been completely unsuccessful.

reading the help docs I notice that maybe they are wrong, as they talk about an ID but any ID is passed through...

Sorry if the solution is obvious but I appreciate so much some help!
thanks!
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 20th Aug 2011 01:10
Can you post some example code you are using to test and I'll do my best to fix it.
DrT
15
Years of Service
User Offline
Joined: 10th May 2008
Location: 26.78 degrees North, -70.49 degrees West
Posted: 21st Aug 2011 13:45
I agree with Paul - we need to see the code.

Anyway...

You might try SetSpritePhysicsForce instead. Here is some code I used to test the application of two dimensional forces. Gravity is currently turned off. You can turn on the y component by replacing 0 with 10/scale#.

pinete
12
Years of Service
User Offline
Joined: 28th Jul 2011
Location:
Posted: 22nd Aug 2011 00:35
wow!
thanks a lot!!!

Login to post a reply

Server time is: 2024-04-19 01:18:28
Your offset time is: 2024-04-19 01:18:28