The Daily Click ::. Forums ::. Klik Coding Help ::. Gravity problem
 

Post Reply  Post Oekaki 
 

Posted By Message

Crimson79



Registered
  27/06/2006
Points
  51
25th July, 2006 at 07:06:47 -

How can i create something that will loose gravity,
when your speed will drop below a certain value?

 
n/a

Werbad



Registered
  18/09/2002
Points
  235
25th July, 2006 at 07:15:53 -

I don't really understan what you want, try giving a little better description... Is it for a platform movement, or what?

 
n/a

Crimson79



Registered
  27/06/2006
Points
  51
25th July, 2006 at 07:54:41 -

It's ment for a 2 player (no scrolling) dogfight game
need to make my plane stall and have gravity

 
n/a

Jakob37



Registered
  07/08/2005
Points
  541
25th July, 2006 at 08:20:58 -

You can do it by having an value which increases when the speed is below a certain value and then set the Yposition of the objekt to it.

Speed is below 65
Every 0,5 sec: Add 1 to gravity value

Always: set Y position of "active" to
Y( "Active" ) + Gravitations value( "Active" )

Image Edited by the Author.

 
n/a

Crimson79



Registered
  27/06/2006
Points
  51
25th July, 2006 at 09:10:20 -

i'm going to try this.
Thanx mate for the tip!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click