Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

Request for access to wheel propulsion override (Steering angle as a bonus)

Discussion in 'Programming (In-game)' started by DragonsKin_, Jul 2, 2018.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. DragonsKin_ Trainee Engineer

    To whom it may concern,

    I am hoping that we can get access to wheel propulsion through in-game scripting, like we have access to the "Override" property on a Thruster.

    I am aware that wheels function differently than thrusters and this would be fine. My expectations given current behavior is that we would get access to toggle (positive or negative) propulsion override as though a user was pressing the W or S keys (respectively).

    For simplicity we can assume orientation of wheels is correct (Left and Right wheels placed on appropriate sides), leaving it up to scripters to determine propulsion inversion dynamically or defer to proper user setup.

    End goal:
    Control of wheel-based grids (like rover drones) and subgrids (like trailers and train cars).

    Thank you for your time and consideration,



    As a bonus it would also be nice to have the ability to set steering angle (Ex: 0 degree being forward direction. 'angles > 0' would be turn right and 'angles < 0' would be turn left).

    End goal:
    In combination with the above this would allow rover automation by script.
    • Agree Agree x 1
  2. Sinbad Senior Engineer

    this ^

    alternatively, a new rotor that can only attach a wheel (RealWheel model please, the one thats actually round and has friction) with rpm limits increased to reflect the single block tangential velocity physics cap like with the suspension wheels. that way we can keep actually engineering suspension and steering setups instead of placing a pre-made lego 'special' block that does all the thinking for us. a compressible piston would be nice too. force slider is almost there...
  3. Neotician Apprentice Engineer

    Not sure if this has been answered elsewhere, but we do have access, sort of.

    You can set it with (block).SetValueFloat("Propulsion override", ( float value) );

    Where 1 = 100%, 0.5 = 50%, -0.5 = -50% etc
Thread Status:
This last post in this thread was made more than 31 days old.