From 54b25b368bfbc67c7c03a41ce9641d8a6f9fdea0 Mon Sep 17 00:00:00 2001 From: sfmig <33267254+sfmig@users.noreply.github.com> Date: Tue, 16 Jul 2024 20:36:14 +0100 Subject: [PATCH] Add rotation instance to particle system --- biig_ants/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/biig_ants/main.py b/biig_ants/main.py index c452327..ab908f2 100644 --- a/biig_ants/main.py +++ b/biig_ants/main.py @@ -185,13 +185,15 @@ def main(): 0.0, math.pi, -math.pi / 2, - ] # -1.5708] + ] with bpy.context.temp_override(context="PARTICLES"): bpy.data.particles["ParticleSettings"].render_type = "OBJECT" bpy.data.particles[ "ParticleSettings" ].instance_object = bpy.data.objects["Eleodes_spec"] + bpy.data.particles["ParticleSettings"].use_rotation_instance = True + # Set up camera