P_Physics Flashcards
p_accuracy_LCPCG
Desired accuracy of LCP CG solver (velocity-related, m/s)
p_accuracy_LCPCG_no_improvement
Required LCP CG accuracy that allows to stop if there was no improvement after p_max_LCPCG_fruitless_iters
p_accuracy_MC
Desired accuracy of microcontact solver (velocity-related, m/s)
p_approx_caps_len
Breakable trees are approximated with capsules of this length (0 disables approximation)
p_async_rwi_use_spu
Enables asynchronous rwis to be executed on the spu
p_break_on_validation
Toggles break on validation error.
Usage: p_break_on_validation [0/1]
Default is 0 (off). Issues DebugBreak() call in case of
a physics parameter validation error.
p_CharacterIK
Toggles character IK.
Usage: p_characterik [0/1]
Default is 1 (on). Set to 0 to disable inverse kinematics.
p_check_out_of_bounds
Check for physics entities outside world (terrain) grid:
1 - Enable raycasts; 2 - Enable proximity checks; 3 - Both
p_collision_mode
This variable is obsolete.
p_cull_distance
Culling distance for physics helpers rendering
p_damping_group_size
Sets contacting objects group size
before group damping is used.Usage: p_damping_group_size 3
Used for internal tweaking only.
p_debug_explosions
Turns on explosions debug mode
p_debug_joints
If set, breakable objects will log tensions at the weakest spots
p_do_step
Steps physics system forward when in single step mode.
Usage: p_do_step 1
Default is 0 (off). Each ‘p_do_step 1’ instruction allows
the physics system to advance a single step.
p_draw_helpers
Same as p_draw_helpers_num, but encoded in letters
Usage [Entity_Types][Helper_Types] - [t|s|r|R|l|i|g|a|y|e][g|c|b|l|t(#)]
Entity Types:
t - show terrain
s - show static entities
r - show sleeping rigid bodies
R - show active rigid bodies
l - show living entities
i - show independent entities
g - show triggers
a - show areas
y - show rays in RayWorldIntersection
e - show explosion occlusion maps
Helper Types
g - show geometry
c - show contact points
b - show bounding boxes
l - show tetrahedra lattices for breakable objects
j - show structural joints (will force translucency on the main geometry)
t(#) - show bounding volume trees up to the level #
f(#) - only show geometries with this bit flag set (multiple f’s stack)
Example: p_draw_helpers larRis_g - show geometry for static, sleeping, active, independent entities and areas
p_draw_helpers_num
Toggles display of various physical helpers. The value is a bitmask:
bit 0 - show contact points
bit 1 - show physical geometry
bit 8 - show helpers for static objects
bit 9 - show helpers for sleeping physicalized objects (rigid bodies, ragdolls)
bit 10 - show helpers for active physicalized objects
bit 11 - show helpers for players
bit 12 - show helpers for independent entities (alive physical skeletons,particles,ropes)
bits 16-31 - level of bounding volume trees to display (if 0, it just shows geometry)
Examples: show static objects - 258, show active rigid bodies - 1026, show players - 2050
p_enforce_contacts
This variable is obsolete.
p_ent_grid_use_obb
Whether to use OBBs rather than AABBs for the entity grid setup for brushes
p_fixed_timestep
Toggles fixed time step mode.Usage: p_fixed_timestep [0/1]
Forces fixed time step when set to 1. When set to 0, the
time step is variable, based on the frame rate.
p_fly_mode
Toggles fly mode.
Usage: p_fly_mode [0/1]
p_GEB_max_cells
Specifies the cell number threshold after which GetEntitiesInBox issues a warning
p_gravity_z
todo
p_group_damping
Toggles damping for object groups.
Usage: p_group_damping [0/1]
Default is 1 (on). Used for internal tweaking only.
p_joint_damage_accum
Fraction of damage (tension) accumulated by breakable joints
p_joint_damage_accum_threshold
Damage threshold (0..1) for p_joint_damage_accum
p_joint_gravity_step
Time step used for gravity in breakable joints (larger = stronger gravity effects)
p_jump_to_profile_ent
Move the local player next to the corresponding entity in the p_profile_entities list
p_lattice_max_iters
Limits the number of iterations of lattice tension solver
p_limit_simple_solver_energy
Specifies whether the energy added by the simple solver is limited (0 or 1)
p_list_active_objects
TODO
p_log_lattice_tension
If set, breakable objects will log tensions at the weakest spots
p_max_approx_caps
Maximum number of capsule approximation levels for breakable trees
p_max_contact_gap
Sets the gap, enforced whenever possible, between
contacting physical objects.Usage: p_max_contact_gap 0.01
This variable is used for internal tweaking only.
p_max_contact_gap_player
Sets the safe contact gap for player collisions with
the physical environment.Usage: p_max_contact_gap_player 0.01
This variable is used for internal tweaking only.
p_max_contact_gap_simple
Specifies the maximum contact gap for objects that use the simple solver
p_max_contacts
Maximum contact number, after which contact reduction mode is activated
p_max_debris_mass
Broken pieces with mass<=this limit use debris collision settings
p_max_entity_cells
Limits the number of entity grid cells an entity can occupy
p_max_LCPCG_contacts
Maximum number of contacts that LCPCG solver is allowed to handle