Support for lights attached to vehicles #4329
Replies: 3 comments 1 reply
-
Recently a feature to control lights was added, see #3991, might be useful here |
Beta Was this translation helpful? Give feedback.
-
Thank you very much, that is enough for me to keep pulling that string. If I manage to do something nice I will submit a PR about it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi @Davidsastresas, you should be able to achieve what you want by adding one of the light components to the desired vehicle blueprint, then wrapping any operations on that light component with a blueprint function that you then call from a newly added API, similar to what @saihv did with the |
Beta Was this translation helpful? Give feedback.
-
I think it would be useful to be able to change the lights attached to vehicles, in order to better estimate simulations when computer vision is involved in a system where it can control lights.
I think I have sorted out how to include permanent lights attached to the player in Unreal, but I don't know how to start attaching that to a connection in Airsim, and thus to the autopilot or software managing the vehicle.
I would not mind to work on this and do a PR, but I would appreciate a couple of hints about where to look in Airsim to make the connection to such element in unreal.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions