Author Topic: Zero Gravity with vehicles?  (Read 1528 times)

The title is a bit misleading, but I don't know what else to call it.  Basically, I want a player that can move around withing a zero gravity chamber.  This means that I want to be able to spin the player (like with tumble), allow the player to push off walls (with jump or click), and still be able to fire weapons and such.  Is this possible?  If so, how would I go about making this?  I took a look at the Agile script, and I have an idea of how to make the pushing off walls part.  Still not sure though.

Please help.   :/
« Last Edit: January 22, 2010, 10:11:44 PM by Gadgethm »

The player can only rotate on the Z axis without mounting to a vehicle of some kind.

Would it be possible to mount the player to a vehicle with no engine, but that can move around like a plane?  Also, in said vehicle, could there be a "jump" script where if you press spacebar up against a wall, you push off the wall?

I c what gadge is getting at

Maybe you could level out the upward force and gravity with an invisible vehicle.

Maybe you could level out the upward force and gravity with an invisible vehicle.
I'm not sure you understand.  Either that, or I don't understand.

This falls under the "awesome but cripplingly impractical" category.

This falls under the "awesome but cripplingly impractical" category.
How do you mean?  It's perfectly practical for what I need.  Also, I haven't gotten any real answers yet D:

How do you mean?  It's perfectly practical for what I need.  Also, I haven't gotten any real answers yet D:
In that it is awesome but cripplingly impractical.

I don't see how you can misinterpret that.

Basically, you can't turn upside down with just a playertype, but you can with a vehicle. A vehicle can use physics. You should try making a /vehicle/ instead of a playertype, and just put a player inside of the vehicle or something.

I'm not sure you understand.  Either that, or I don't understand.

Basically, there is a force called gravity (duh). If you negate that force with some 'anti-gravity' force, you're left with an object floating, moving nowhere because no force is acting upon it.

Once you reach 'zero-g', you can then begin to implement controls to move around.

Basically, there is a force called gravity (duh). If you negate that force with some 'anti-gravity' force, you're left with an object floating, moving nowhere because no force is acting upon it.

Once you reach 'zero-g', you can then begin to implement controls to move around.
That's my point.  I want the vehicle to do everything that a player can do, but also be able to spin in the air like tumble.

The only real problem is tuning the properties of the vehicle perfectly. That, and a usable control system.

The only real problem is tuning the properties of the vehicle perfectly. That, and a usable control system.
Ok, but how would I go about creating the vehicle in the first place?

The default skis have an example.