Dynamic Panel

Avatar
GameBurger
93 Posts
Posted Jul 29, 2014
Lets say I have a panel (prop_dynamic) placed near the wall. I want panel to "detach" from the wall and fall down when I step on it. Is there any way to do it?
Advertisement
Registered users don't see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Jul 29, 2014
Replied 7 minutes later
Yes, you can parent it to a func_physbox that at the beginning has the flag "Motion Disabled" checked (to later fire it the outptut "EnableMotion"), or even making directly a func_physbox with the shape and look (textures) of a panel
Avatar
GameBurger
93 Posts
Posted Jul 29, 2014
Replied 1 minute later

josepezdj wrote:
Yes, you can parent it to a func_physbox that at the beginning has the flag "Motion Disabled" checked (to later fire it the outptut "EnableMotion"), or even making directly a func_physbox with the shape and look (textures) of a panel

Thanks a lot!

Advertisement
Registered users don't see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Jul 29, 2014
Replied 2 hours later
The entity phys_convert will turn any entity into a physics entity when activated, so you can have your panel do animations like a prop_dynamic, then suddenly become a prop_physics and fall. I've used it on light bridges before to make them fall off the walls into a pit of goo.