Game Development Community

How to Make a Ladder?

by Dashiva · in Artist Corner · 09/19/2012 (12:58 pm) · 2 replies

Hi,
New to the Torque Demo, trying to import some stuff and see if the MIT licensed version will be a go for us. One of the levels I have requires a ladder, but I can't figure out how to do this in the Torque docs...do I have to do a special script?

#1
09/19/2012 (1:33 pm)
In script the easiest way that you can fake it is with a Trigger and incremental additions to the player's transform. Or you could boost them with PhysicalZones - which could be dangerous for a down ladder! With the source you could code in a feature that used raycasts to check for a direction the player is looking, play an animation, and keep the player shape 'mounted' to the ladder for the duration.

There is an example Resource.
#2
09/23/2012 (4:23 pm)
If you have the Ladder art asset and you want to import the Ladder into T3D then this is covered in the DOC's that comes with T3D under the Artist section.
It may require something simple like export the Ladder to collada, manually place the ladder.dae (or whatever you named it before export) file into the art folder (in the T3D directory )and then while in the World Editor, place the item into the game world.

For interaction with the ladder, you should follow Michael Hall's advice and link.