def b_create_data(self): """Create a cube and bhkboxshape collision object""" # mesh obj b_gen_geometry.b_create_base_geometry(self.b_name) # col obj b_col_obj = b_gen_geometry.b_create_cube(self.b_col_name) b_gen_geometry.b_apply_object_scale() b_col_obj.matrix_local = b_gen_geometry.b_get_transform_matrix() b_gen_collision.b_create_default_collision_properties(b_col_obj) b_gen_bhkboxshape.b_create_bhkboxshape_properties(b_col_obj)
def b_create_data(self): """Create a cube and bhksphereshape collision object""" # mesh obj b_obj = b_gen_geometry.b_create_base_geometry(self.b_name) # col obj b_col_obj = b_gen_bhksphereshape.b_create_bhksphere(b_obj, self.b_col_name) b_gen_collision.b_create_default_collision_properties(b_col_obj) b_gen_bhksphereshape.b_create_bhksphereshape_properties(b_col_obj)
def b_create_data(self): b_obj = b_gen_geometry.b_create_base_geometry(self.b_name) b_mat = b_gen_material.b_create_material_block(b_obj) b_gen_material.b_create_set_default_material_property(b_mat) b_gen_specular.b_create_alter_specular_property( b_mat) # update specular
def b_create_data(self): b_obj = b_gen_geometry.b_create_base_geometry(self.b_name) b_mat = b_gen_material.b_create_material_block(b_obj) b_gen_material.b_create_set_default_material_property(b_mat) b_gen_alpha.b_create_set_alpha_property(b_mat) # update alpha
def b_create_data(self): b_obj = b_gen_geometry.b_create_base_geometry(self.b_name) b_mat = b_gen_material.b_create_material_block(b_obj) b_gen_material.b_create_set_default_material_property(b_mat) b_gen_material.b_create_emmisive_property( b_mat) # set our emissive value
def b_create_data(self): b_obj = b_gen_geometry.b_create_base_geometry(self.b_name) b_gen_stencil.b_create_stensil_property(b_obj)
def b_create_data(self): b_obj = b_gen_geometry.b_create_base_geometry(self.b_name) self.b_create_vertexcolor(b_obj)