3D Workspace
Home
Assets
Affiliate Program
Creator Program
Sign up/Log in
?
Upgrade
DCC Bridge
Anonymous1782448125
06-26 04:30
Model Name
stylized stick figure 3d model
Tags
character
game asset
stylized
Prompt
import bpy import math # ====================== CLEAN ====================== bpy.ops.object.select_all(action='SELECT') bpy.ops.object.delete(use_global=False) # ====================== CREATE PLAYER ====================== def create_player(): bpy.ops.mesh.primitive_cube_add(size=1, location=(0, 0, 1.8)) torso = bpy.context.active_object torso.scale = (0.45, 0.35, 0.8) bpy.ops.mesh.primitive_uv_sphere_add(radius=0.27, location=(0, 0, 2.75)) head = bpy.context.active_object parts = [] for name, loc, rot, depth in [ ("LeftArm", (-0.52, 0, 2.12), (0, 0, 1.05), 0.95), ("RightArm", (0.52, 0, 2.12), (0, 0, -1.05), 0.95), ("LeftLeg", (-0.22, 0, 0.95), (0, 0, 0), 1.15), ("RightLeg", (0.22, 0, 0.95), (0, 0, 0), 1.15) ]: bpy.ops.mesh.primitive_cylinder_add(radius=0.13, depth=depth, location=loc) obj = bpy.context.active_object obj.rotation_euler = rot obj.name = name parts.append(obj)
Detailed Info
Related Models
Enter invite code
Enter invite code to get credits!