Game Development Community

HoverVehicle Sticking to Walls

by Shawn Simas · in Torque Game Engine · 12/12/2005 (8:18 pm) · 1 replies

I've been trying to find a way to edit the hovercraft code so that it will stick to walls. That is, it will climb verticle walls and hug the insides of tubes and such.

I hacked up some edits to the gravity, but it isn't nearly as smooth as I'd like, and you still 'fall' off and down to the ground.

Anyone have any ideas?

#1
12/12/2005 (8:25 pm)
I don't know how they did it, but this has been accomplished with Grav Rally, though as far as I know that project is dead. I'd look at disabling gravity while you are "contacting" a surface and aligning yourself to it (this is more or less how I've implemented wall running), but I'm sure it's more complex than that for vehicles.