Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(Script help) - Removing or manipulating gravity physics
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#5
RE: (Script help) - Removing or manipulating gravity physics

It depends on what you want to manipulate. If it's the player, it requires a lot of painstaking testing to get decent values. There are some threads about this topic somewhere deeper in the forum pages, but if you find them you might be able to find values which work. You'll need a loop that fires off every 0.0166 seconds to get smooth and steady control.

However, if you want to control entities, it simply becomes a matter of pushing an object when and only when you want it to be moved. You simply create a custom entity and un-check 'Has Gravity' on the body's properties.

03-02-2012, 03:26 AM
Find


Messages In This Thread
RE: (Script help) - Removing or manipulating gravity physics - by palistov - 03-02-2012, 03:26 AM



Users browsing this thread: 2 Guest(s)