piatek.piotr Posted April 22, 2022 Share Posted April 22, 2022 Hi guys, Is there any way to read any knob's/regulator's value (the percentage shown as "Properties", as numeric it will be presumably as -1..1) - could be with a script. I have tried with eg.: print($("Fahrregler").variables[0]) but it's Nil. I'm afraid it's not exposed as object's property within the API, but maybe there is some trick? Link to comment Share on other sites More sharing options...
Goetz Posted April 22, 2022 Share Posted April 22, 2022 Hi @piatek.piotr vor 49 Minuten schrieb piatek.piotr: but it's Nil First, the sub table "variables" only holds the object variables that you add to an object and never any of its properties. Second, the position of such controller cannot (to my knowledge!) be accessed via the EV. Greets Goetz Link to comment Share on other sites More sharing options...
piatek.piotr Posted April 22, 2022 Author Share Posted April 22, 2022 OK, that's what I was afraid of (I have tried with the "variables" simply because I couldnt find anything else). Is there any other 3d model exposing continous numerical property/value? Link to comment Share on other sites More sharing options...
Goetz Posted April 22, 2022 Share Posted April 22, 2022 vor 6 Stunden schrieb piatek.piotr: Is there any other 3d model exposing continous numerical property/value? The first that comes to mind is a motorised vehicle. You can read the speed Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now