It like the name I want to change physic type of many object that selected(like static to no collision) at once but I can’t fine a way to do it.
I found a thread about this but it in 2010 and I still don’t know how to do it.
ps. not in realtime.
It like the name I want to change physic type of many object that selected(like static to no collision) at once but I can’t fine a way to do it.
I found a thread about this but it in 2010 and I still don’t know how to do it.
ps. not in realtime.
import bpy
objects = bpy.context.selected_objects
active_object = bpy.context.active_object
context_game = active_object.game
for object in objects:
object_game = object.game
object_game.physics_type = context_game.physics_type
object_game.use_actor = context_game.use_actor
object_game.use_ghost = context_game.use_ghost
object_game.use_collision_bounds = context_game.use_collision_bounds
object_game.collision_bounds_type = context_game.collision_bounds_type
object_game.collision_margin = context_game.collision_margin
object.hide_render = active_object.hide_render
This script will set the common physics settings of all the selected objects to the active selection.
Place it in a text block, and press ALT + P or “Run Script”
It copies the following:
Oh this prob solve really fast thank you.
it seem I want to made this in to add-on if blender not has any add-on about this.