Even Though I am very new to Blender and Python scripting (Couple of weeks), I am working on an idea of a complex mechanical simulation.
Basically trying to simulate a bridge type crane that had 4 rigid tool columns that lower around stationary obstacles.
Have worked out the basic modeling, movement, analogue joystick script, some of the physics and a few of the collisions with rigid to rigid items. Even worked out combination local and global axis movement to allow for the cabs compass directional steering and rotation.
Using a Logitech controller to simulate the dual analogue steering controls with the 12 buttons for controls, but the thing I am uncertain on the the best way to work with collision from the columns when they are lowered, most of the obstacles I was going to set up as static, with a few rigid body items that can be used as a load for a couple of the columns at times.
Simplified … Well, main crane object and it’s 4 columns which will only be lowered as single or pair configuration.
Which switch method would be the most effective method for sensing 4 sides of 1 or 2 columns.
(forward/backward and left/Right on rotation as columns are offset from central rotation point)
Better to try ray, radar, near, touch and collision?
Want to set up script to stop movement on crane when hitting the statics, with the pair of columns it will have 2 segments in each that can collide with the static structures.