Game Development Community

How should I trigger the animation?

by Jane Austen · in Torque Game Engine · 06/10/2002 (2:15 am) · 1 replies

Greetings!

This might be a silly question.

I want to make a door and when I approach the door, it opens automatically, and when I leave the door for a specific distance, it closes.

I have made the dts object and dsqs, but I don't know what object should I use, and how to trigger the animation.

I checked the code of example and rw, but it seems only player animations are implemented. So how should I do this?

Thank you in advance!!!