Talk:Func rotating: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 5: Line 5:


You can use the flags to make it rotate around the x y or z axis, but if you want to use a combination, you may need to do either of these (whichever works): give it initial "angles" value or parent it to a func_door_rotating which you then can rotate open to obtain the ideal axis you want.  For things like this where there's no obvious answer, the best thing to do is combine multiple entities to get your desired effect.—'''[[User:Ts2do|ts2do]]''' 20:03, 14 Feb 2007 (PST)
You can use the flags to make it rotate around the x y or z axis, but if you want to use a combination, you may need to do either of these (whichever works): give it initial "angles" value or parent it to a func_door_rotating which you then can rotate open to obtain the ideal axis you want.  For things like this where there's no obvious answer, the best thing to do is combine multiple entities to get your desired effect.—'''[[User:Ts2do|ts2do]]''' 20:03, 14 Feb 2007 (PST)
The func_door_rotating worked like a charm.  Just made it stay open (reset = -1) and then set the axis I wanted the other rotating object to be tilted on.  If you use 3 doors, you can have it rotate about any arbitrary axis.  Thanks guys.

Revision as of 23:55, 14 February 2007

How would I make an entity of this type rotate about an arbitrary axis? --Bravo2 00:59, 13 Feb 2007 (PST)

Move the small circle that starts in the center of the object to where you want your axis to be. I beleive it will rotate around this point. --Daedalus 04:19, 13 Feb 2007 (PST)

That is true, however, that changes to an arbitrary ORIGIN and not an arbitrary axis. Imagine a disk spinning around an axis that is orthogonal to the plane of the disk, but the disk is tilted on its side. --Bravo2 15:57, 14 Feb 2007 (PST)

You can use the flags to make it rotate around the x y or z axis, but if you want to use a combination, you may need to do either of these (whichever works): give it initial "angles" value or parent it to a func_door_rotating which you then can rotate open to obtain the ideal axis you want. For things like this where there's no obvious answer, the best thing to do is combine multiple entities to get your desired effect.—ts2do 20:03, 14 Feb 2007 (PST)

The func_door_rotating worked like a charm. Just made it stay open (reset = -1) and then set the axis I wanted the other rotating object to be tilted on. If you use 3 doors, you can have it rotate about any arbitrary axis. Thanks guys.