Game Development Community

Elevators / moving platforms

by __._ · in Torque Game Engine · 11/20/2006 (5:12 am) · 4 replies

I have been doing some searching on elevators and have found that it used to be a problem, but these threads dated back to 2004 and further. I also tried creating an elevator by modelling a simple DTS, adding collision (the manual forgets to mention to link "Col-1" to "start01" by the way!) and animating the object itself and Col-1, but, depending on the datablock, the object either won't detect collisions (ItemData) or won't animate (staticShapeData).

How can I create a "simple" elevator ?

In addition, modifying the Torque Source Code is not an option as I'm bound to the product as is, meaning I can use everything that Torque 1.5 has to offer, but no more.

Thanks in advance.

#1
11/20/2006 (7:36 am)
The pathed interior resource and the DTS elevator solution both require source changes. Unless you remove control from the player, mount them to the elevator and then update the player and elevator position each tick (I believe you need the player to be slightly "above" the elevator so their feet do not appear to be falling through the elevator on update. It is convoluted, but I have heard other people getting it to work. Now, if you want to run around on the elevator, that would be a problem.
#2
11/20/2006 (8:36 am)
David is quite correct in that source changes are required. We've had good luck with this resource for moving platforms/elevators,etc:

Moving Platforms

It does allow you to move on the platform as well. As for doing it in stock TGE 1.5 without code changes, I don't think it'll work, but people come up with amazing stuff all the time.

Good luck.
#3
11/20/2006 (8:59 am)
Yup. Ramen-Sama's resource is great, imo.
#4
11/20/2006 (3:27 pm)
I used path shape resource. Works pretty good for an elevatot effect. I mount (trigger) and dismount(onNode) the moving dts. Very simple.

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4849