I have a rover with several AG's (auto pilot, lights, radar etc). Everything works great. But when i put an astronaut in the drivers seat there are 2 or three parts (hinges/hinge rotators) that get turned off. Any ideas?
Tags
Question4 Comments
- Log in to leave a comment
-
Mod sflanker
@RikHar I figured it out. For some reason the hinge rotator's part id is changing after returning control back to the vehicle's command chip. If you rename your hinge rotator to something unique like "left-door-hinge" and the replace all your usage of the part id 386 with the expression
part ID of [left-door-hinge]
that should make it work. I haven't been able to reproduce the part id changing behavior with a simpler craft so I'm not sure what's causing that, but it commonly happens when crafts dock, so it's a good idea to avoid hard coded part ids anyway. -
1,467 RikHar
@sflanker No, selecting the command chip on the rover does not fix the issue. i have been over my programming and no replication. i'm stumped. here's a link in case your still interested. Side door and roof radar stop working when astronaut has entered vehicle. https://www.simplerockets.com/c/Y6IqJj/help
-
Mod sflanker
I take it this happens in flight, when you are controlling the astronaut. This could be an issue with activation group replication, or if you are relying in Slider 1/Slider 2 the it could be that parts are switching from the command chip in your rover to the astronaut. Does selecting the command chip and clicking "Take Control" fix the issue?
@sflanker That worded . thank you so much.