Game Development Community

adding velocity to the player in zero G.

by Michael A Bocchi · in Torque 3D Professional · 12/30/2009 (6:43 am) · 1 replies

I have created a physical zone and set the gravity to zero. But now the player is unable to move, how can I remedy this dilemma? I only want to player to be able to move along the x and y axis. Any ideas? (The player is a vehicle that is using the player datablock, should I be using something else?) Thanks.

#1
01/02/2010 (4:28 pm)
Back in the TGE days there was:

const F32 sVehicleGravity = -20;

Found in player.cc (engine code) don't know if it's still there, but this may help. Change the value as appropriate