Physics question

Avatar
tungsten
8 Posts
Posted May 21, 2011
Hi all,

I'm working with a button and panel/platform combo that raises up from the floor and has a npc_portal_turret_floor on it. The problem I'm having is that every time the panel is triggered, the turret goes flying into the air. I used SetAnimationRate to slow it down, but it still tips over and "dies." Does anyone know of a way to keep the turret stable on the panel_brush during animation? Thanks for any help!

Advertisement
Registered users don’t see ads! Register now!
Avatar
screedle
39 Posts
Posted May 21, 2011
Replied 2 hours later
Try using an output from the button that temporarily parents the turret to the panel, then another output that unparents it after five seconds.
Avatar
tungsten
8 Posts
Posted May 21, 2011
Replied 11 hours later
Perfect! Great idea, thanks.