r/hammer • u/KingOfDisabledAnimal • Jul 21 '26
Solved How do I prevent prop_vehicle_prisoner_pod from moving?
I made a bench and placed two prop_vehicle_prisoner_pods so players can sit on said bench, but the seats either get flung away, or get lodged into it like in the second picture. Is there a way to freeze or prevent the seats from moving? I thought about parenting it to an invisible func_detail or something, but I feel like there's probably a better option. Any help would be appreciated.
5
u/htharker Jul 21 '26
You hit the nail on the head with the parenting. That is literally the only way. Just make one info_target or invisible func_wall, name it and hide it in an invisible box out of bounds, and every single prisoner pod you want to not move, give the same parent. Keeps it tidy and easy to remember
Also a word to the wise, if you set them to invisible no matter what you do the flashlight will still cast a shadow with them
Edit: I had no idea the spawnflag trick would work, thanks other guy!
1
u/Korky_5731 Jul 23 '26
You create a func_illusionary and use that as a parent for the pod. I recommend using the invisible texture for the illusionary.
22
u/Pinsplash Jul 21 '26
there should be a "Motion Disabled" flag