![Honda standing on a parking lot [embedded image]](/pictures/user_upload/blenderdumbass/honda_01.png)
![Same Honda standing at the same place more naturally [embedded image]](https://files.mastodon.online/media_attachments/files/115/111/437/716/760/073/original/df4572135049731d.png)
![Honda in between two other cars, looks fake. [embedded image]](https://files.mastodon.online/media_attachments/files/115/111/437/715/874/220/original/aef4a0f2b4b7b753.png)
![Same render but way better. [embedded image]](https://files.mastodon.online/media_attachments/files/115/136/733/795/940/441/original/704ed21270de57a0.png)
![Honda with 2 planes that create reflections. [embedded image]](/pictures/user_upload/blenderdumbass/honda_with_2_planes_that_create_reflection.jpg)
![A use of Camera Ray as a mask, for transparency. [embedded image]](/pictures/user_upload/blenderdumbass/camera_ray_trick_for_honda_reflections.jpg)
![Honda without background but with a shadow. [embedded image]](/pictures/user_upload/blenderdumbass/Honda_Image_with_shadow.png)
![Model of Honda with something egg-shaped near it. [embedded image]](/pictures/user_upload/blenderdumbass/honda_and_Reflection_ball.jpg)
![Screenshot of Blender's UI with View Layers and stuff. [embedded image]](/pictures/user_upload/blenderdumbass/view_layers_and_stuff_honda.jpg)
![Honda's Rig with Risers [embedded image]](/pictures/user_upload/blenderdumbass/showing_risers_on_hondas_rig_in_action.jpg)
![5 bones with a plane. 4 at the corners. 1 in the middle. [embedded image]](/pictures/user_upload/blenderdumbass/basic_rig_of_wheel_raisers.jpg)
# Fuction to rig soft supension of a car def Soft(var, travel=5, softness=2): # Soft suspension function. # I tried doing it with curves in driver-editor. And using code # was a much better option. LOL absVar = var if absVar < 0: absVar = -absVar try: frac = ( absVar / travel ) if frac < 1: ans = travel * ( frac ** softness) else: ans = taver * frac if var < 0: ans = -ans except: ans = var return ans # Adding this function to the driver's math operations import bpy bpy.app.driver_namespace["Soft"] = Soft
var, which is the value we are referencing, and then returns the value we want to use in the end of the day. I did a lot of mathy figuring out and came up with a function where you can also control the travel distance before the suspension is stiff to 100%. And the smoothing force. Basically how fast it becomes this stiff.
↩ Reply