Brush Won't Stick To Panel
TripleG10 wrote:
I'm using a telescope_arm.mdl and the brush won't stick to the top. What should my parameter be when I put SetParentAttachmentMaintainOffset in my logic_auto's output?
You have the right idea, though you need to set the brush's parent to the model to begin with otherwise it wont parent. Make sure you use the 'Model Viewer' program in the Authoring Tools to find which parent attatchment (load your model and click on the attatchments tab) you need to parent it to. I think it is panel_top or panel_top10.
This tutorial goes over attaching panels to animated arms really well.
Sleepless Mickey wrote:
This tutorial goes over attaching panels to animated arms really well.
This video is great.
To it I'd like to add that making a logic_relay for both the "open" and "close" of the panel is really useful. To that end, I'd also have the logic_auto handle the panel_attach and default idle animation, while one logic_relay moves the panel out when triggered and a second logic_relay moves the panel back in when triggered.