|
I came across this same problem yesterday with a door on a sloping cabinet and I recall maybe a year ago a mapper had this problem too. Impossible to rotate the door correctly at an angle to one of the 3 planes. A combination of y,x,z produces strange effects. I feel sure that 3 or 4 years ago when I first experimented with doors I could turn a model door over and it still rotated correctly with no change to its rotate values.
However, what we do NOT want of course, is for current doors to be changed now. That would break all chest lids in existing maps for example. But some means to allow doors to be set up to rotate relative to the model, eg, an extra spawnarg. If that is not possible then at least if we have a separate entity that rotates relative to the model it might be used somehow on special doors, frob_peered or something. It would be a hack but at least possible whereas currently we cannot. I had to rip off my cabinet doors and throw them away. Not what I wanted. |
|
|
test map is test/rotate_relative.map
This has a script that rotates a bell and a sloping cabinet whose doors cannot be set to open correctly. |
|
|
Currently, you would need to use setAngularVelocity to change the rotation axis of a spawned rotator. |
|
|
The work-around for sloping doors is http://wiki.thedarkmod.com/index.php?title=Doors#Slanted_or_Tilted_Doors |
|