Best way to rail slide (i.e. skateboarding)
by Joshua Dallman · in Torque Game Engine · 12/16/2004 (8:29 pm) · 2 replies
Can anyone give a pointer in the best way to perform a rail slide similar to Sonic or Tony Hawk?
When you press the action button and a mount point near your feet is within a bounding box around a rail, you would attach to the rail and move forward on it until 1) you fall [using a Tony Hawk style balance meter], 2) you press some other action button [i.e. jump], or 3) the rail ends.
Do you think this could be done using script or should I be posting this in the private forum because it's definite serious modification involved? I'm not looking for a step-by-step, more just a general direction.
I hear there's a skateboard in TubettiWorld.
When you press the action button and a mount point near your feet is within a bounding box around a rail, you would attach to the rail and move forward on it until 1) you fall [using a Tony Hawk style balance meter], 2) you press some other action button [i.e. jump], or 3) the rail ends.
Do you think this could be done using script or should I be posting this in the private forum because it's definite serious modification involved? I'm not looking for a step-by-step, more just a general direction.
I hear there's a skateboard in TubettiWorld.
About the author
Torque Owner Vijay Myneni
To implement the switching between AI movement and regular input-controlled movement, you may have to tweak the engine a little (add a boolean basically that tells you what mode you're in). Maybe not though.