Game Development Community

Advanced Book: Chapter 4 - door question

by Rodney (OldRod) Burns · in Torque Game Engine · 12/01/2005 (7:29 pm) · 1 replies

I've got the swinging doors in and they work great. However, I want a door to swing out instead of in.

It looks like I need to change rotationdirection (in the .mis file) to -1 instead of 1. When I do this, it swings the other way (like I want), but it just spins around 360 degrees continuously and never stops :)

I'm guessing the maxOpenAngle needs to be changed, but no matter what I put in there it doesn't seem to work.

Anyone know what I'm doing wrong?

#1
12/03/2005 (10:31 am)
Ok, just an update... I tried rotating the actual door model 180 degrees and seeing if that would make it swing out instead of in. It still swings in :(