moisesjpelaez - Physics Improvements
This commit is contained in:
		| @ -2815,6 +2815,7 @@ class LeenkxExporter: | ||||
|             body_flags['animated'] = rb.kinematic | ||||
|             body_flags['trigger'] = bobject.lnx_rb_trigger | ||||
|             body_flags['ccd'] = bobject.lnx_rb_ccd | ||||
|             body_flags['interpolate'] = bobject.lnx_rb_interpolate | ||||
|             body_flags['staticObj'] = is_static | ||||
|             body_flags['useDeactivation'] = rb.use_deactivation | ||||
|             x['parameters'].append(lnx.utils.get_haxe_json_string(body_params)) | ||||
| @ -3039,7 +3040,7 @@ class LeenkxExporter: | ||||
|  | ||||
|             rbw = self.scene.rigidbody_world | ||||
|             if rbw is not None and rbw.enabled: | ||||
|                 out_trait['parameters'] = [str(rbw.time_scale), str(rbw.substeps_per_frame), str(rbw.solver_iterations)] | ||||
|                 out_trait['parameters'] = [str(rbw.time_scale), str(rbw.substeps_per_frame), str(rbw.solver_iterations), str(wrd.lnx_physics_fixed_step)] | ||||
|  | ||||
|                 if phys_pkg == 'bullet' or phys_pkg == 'oimo': | ||||
|                     debug_draw_mode = 1 if wrd.lnx_physics_dbg_draw_wireframe else 0 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user