prop_physics2

From Valve Developer Community
Jump to: navigation, search
Obsolete-notext.png
This entity is Obsolete. Its use is discouraged, and it may only exist/function in older engine branches.
Info.png
This entity is not in the FGD by default.
It should not be put directly in a map.
Class hierarchy
CPhysics2Prop
CBaseProp
CBaseAnimating
CBaseEntity

prop_physics2 is a point entity available in Left 4 Dead 2 Left 4 Dead 2. Attempting to spawn it or even ent_info prop_physics2 crashes the game.

Possible related cvars

phys2_air_density                        : 2        : , "launcher"     : 
phys2_angular_damping                    : 0.05     : , "launcher"     : 
phys2_angular_damping_in_water           : 0.5      : , "launcher"     : 
phys2_artificial_acceleration            : 0        : , "launcher"     : 
phys2_async                              : 1        : , "launcher"     : 
phys2_async_server                       : 0        : , "launcher"     : 
phys2_buoyancy_damping                   : 0.5      : , "launcher"     : 
phys2_buoyancy_factor                    : 1.2      : , "launcher"     : 
phys2_buoyancy_version                   : 0        : , "launcher"     : 
phys2_buoyant_damping_multiplier         : 50       : , "launcher"     : 
phys2_buoyant_sleep_energy_threshold     : 0.5      : , "launcher"     : 
phys2_ccd_epsilon                        : 0.01     : , "launcher"     : 
phys2_clamp_velocity                     : 10       : , "launcher"     : 
phys2_cmodels                            : 1        : , "launcher"     : 
phys2_contact_report_threshold           : 1000     : , "launcher"     : 
phys2_continuous_cd                      : 1        : , "launcher"     : 
phys2_debug_draw                         : 0        : , "cl", "launcher" : 
phys2_debug_draw_scale                   : 1.0      : , "cl", "launcher" : 
phys2_debug_dump_entities                : 0        : , "rep", "cl", "launcher" : 
phys2_debug_traceray                     : 0        : , "launcher"     : 
phys2_debug_wakeup                       : 0        : , "launcher"     : 
phys2_debug_wireframe                    : 0        : , "cheat", "cl"  : Render Phys2 collision models in wireframe
phys2_dedicated_thread_pool              : 0        : , "launcher"     : 
phys2_default_friction                   : 0.75     : , "launcher"     : 
phys2_default_max_velocity               : 40       : , "cheat"        : max object velocity, m/s
phys2_default_wakeup_counter             : 0        : , "launcher"     : 
phys2_dump_exclude_list                  : 0        : , "launcher"     : 
phys2_dump_ray_counts                    : 0        : , "launcher"     : 
phys2_dump_runtime_sizes                 : 0        : , "cheat", "rep" : 
phys2_enable                             : 1        : , "launcher"     : 
phys2_enable_breakable_constraints       : 0        : , "launcher"     : 
phys2_enable_buoyancy                    : 1        : , "launcher"     : 
phys2_enable_deferred_calls              : 1        : , "launcher"     : 
phys2_enable_drives                      : 1        : , "launcher"     : 
phys2_enable_energy_sleep_test           : 1        : , "launcher"     : 
phys2_enable_sap_multi                   : 0        : , "launcher"     : 
phys2_enable_variable_timestep           : 1        : , "launcher"     : 
phys2_expensive_sync_warning             : 320000   : , "launcher"     : 
phys2_force_apply_magnitude              : 1.0      : , "launcher"     : 
phys2_global_ccd_motion_threshold_multiplier : 0.5      : , "launcher"     : 
phys2_global_skin_width_multiplier       : 1.0      : , "launcher"     : 
phys2_hack_ignore_level_collision        : 0        : , "launcher"     : 
phys2_hack_ignore_models                 : 0        : , "launcher"     : 
phys2_hack_ignore_rays                   : 0        : , "launcher"     : 
phys2_hack_print_rays                    : 0        : , "launcher"     : 
phys2_hack_replace_bboxes                : 0        : , "launcher"     : 
phys2_level_prefer_polytopes             : 0        : , "launcher"     : 
phys2_linear_damping                     : 0.0      : , "launcher"     : 
phys2_linear_damping_in_water            : 0.5      : , "launcher"     : 
phys2_load                               : cmd      : , "sv", "cheat"  : Saves physics SDK state
phys2_mass_exponent                      : 1        : , "launcher"     : 
phys2_max_angular_velocity               : 25       : , "launcher"     : 
phys2_max_length_constraint_anchor       : 0.3      : , "cheat"        : 
phys2_max_substeps                       : 2        : , "launcher"     : 
phys2_max_timestep                       : 0.02     : , "launcher"     : 
phys2_mem_debug                          : 0        : , "cheat", "rep" : 
phys2_merge_static_props                 : 1        : , "rep", "launcher" : 
phys2_num_threads                        : 4        : , "launcher"     : 
phys2_preload_models                     : 1        : , "cheat", "rep" : 
phys2_ragdoll_ccd                        : 0        : , "launcher"     : 
phys2_ragdoll_clamp_angular_velocity     : 30       : , "rep", "cl", "launcher" : 
phys2_ragdoll_clamp_linear_velocity      : 600      : , "rep", "cl", "launcher" : 
phys2_ragdoll_convert_to_capsules        : 0        : , "launcher"     : 
phys2_ragdoll_create_constraints         : 1        : , "rep", "cl", "launcher" : 
phys2_ragdoll_default_friction           : 0.2      : , "launcher"     : 
phys2_ragdoll_drive_damping              : 1        : , "launcher"     : 
phys2_ragdoll_drive_spring               : 1        : , "launcher"     : 
phys2_ragdoll_drive_type                 : 1        : , "cheat"        : joint PhysX drive type: 0 is none, 1 is position, 2 is velocity, 3 is both
phys2_ragdoll_force_magnitude            : 5        : , "rep", "cl", "launcher" : 
phys2_ragdoll_iterations                 : 4        : , "launcher"     : 
phys2_ragdoll_joint_damping              : 0.01     : , "launcher"     : 
phys2_ragdoll_joint_or                   : 1.2      : , "launcher"     : 
phys2_ragdoll_log                        : 0        : , "rep", "cl", "launcher" : 
phys2_ragdoll_projection_angle           : 0.05     : , "launcher"     : 
phys2_ragdoll_projection_distance        : 0.1      : , "launcher"     : 
phys2_ragdoll_projection_mode            : 0        : , "launcher"     : 
phys2_ragdoll_self_collision             : 0        : , "launcher"     : 
phys2_ragdoll_torque_magnitude           : 0.03     : , "rep", "cl", "launcher" : 
phys2_ragdoll_use_boxes                  : 0        : , "launcher"     : 
phys2_ragdoll_use_d6_joints              : 1        : , "launcher"     : 
phys2_ragdoll_velocity                   : 1        : , "rep", "cl", "launcher" : 
phys2_report_asserts                     : 1        : , "launcher"     : 
phys2_report_errors                      : 1        : , "launcher"     : 
phys2_report_messages                    : 0        : , "launcher"     : 
phys2_report_warnings                    : 1        : , "launcher"     : 
phys2_res_mgr_break                      :          : , "launcher"     : 
phys2_save                               : cmd      : , "sv", "cheat"  : Saves physics SDK state
phys2_save_client                        : cmd      : , "cheat", "cl"  : Saves client physics scene
phys2_save_server                        : cmd      : , "sv", "cheat"  : Saves server physics scene
phys2_scheduler_enable                   : 1        : , "launcher"     : 
phys2_scheduler_manual_pools             : 0        : , "cheat", "launcher" : 0 - auto-balance heuristic, frame sync points aware 1024 - sync-execute +1 - use thread 1 pool +2 - use main thread pool +4 - use alternate pool +8 - always allow all pools, don't mind frame sync points 
phys2_scheduler_stats                    : 0        : , "launcher"     : 
phys2_scheduler_yield                    : 1        : , "launcher"     : 
phys2_shadow_port                        : 1        : , "cheat"        : Use the ported version of physics shadow controller?
phys2_shoot                              : cmd      : , "sv", "cheat"  : Shoots a phys2 object.
phys2_shoot_speed                        : 250      : , "sv", "launcher" : 
phys2_sim_hw                             : 0        : , "launcher"     : 
phys2_sim_thread_mask_client             : 1        : , "launcher"     : 
phys2_sim_thread_mask_server             : 4        : , "launcher"     : 
phys2_sim_thread_stack                   : 0        : , "launcher"     : 
phys2_sleep_angular_velocity             : 0.1      : , "launcher"     : 
phys2_sleep_damping                      : 1        : , "launcher"     : 
phys2_sleep_energy_threshold             : 0.02     : , "launcher"     : 
phys2_sleep_linear_velocity              : 0.1      : , "launcher"     : 
phys2_solver_batch_size                  : 16       : , "launcher"     : 
phys2_stats                              : cmd      : , "cheat", "cl"  : Dumps physics stats
phys2_support_level                      : 3        : , "launcher"     : 
phys2_thread_mask_client                 : 3        : , "launcher"     : 
phys2_thread_mask_server                 : 6        : , "launcher"     : 
phys2_thread_stack                       : 256000   : , "launcher"     : 
phys2_vdb                                : 0        : , "cheat"        : 
phys2_vdb_host                           : localhost : , "cheat"        : 
phys2_version                            : Version 2.2 (w/scheduler), built Nov 15 2021 13:55:21 : , "launcher"     : 
phys2_visualize                          : 0        : , "launcher"     : 
phys2_water_density_multiplier           : 1        : , "launcher"     : 
phys2_water_single_actor                 : 1        : , "launcher"     : 
phys2_water_wakeup_counter               : 0.4      : , "launcher"     : 
phys2_xbox_scheduler                     : 0        : , "launcher"     : 
phys2_xbox_scheduler_thread_mask         : 62       : , "launcher"     : 
phys2_xbox_sim_thread_priority           : 2        : , "launcher"     : 0 is high, 2 is normal, 4 is low
phys2ui                                  : cmd      : , "cheat"        : Show/hide the phys2 UI.
phys2ui_mouse_wheel_scale                : 10       : , "launcher"     :

See also