Blender
V3.3
|
#include <DNA_rigidbody_types.h>
Public Attributes | |
short | type |
short | shape |
int | flag |
int | col_groups |
short | mesh_source |
char | _pad [2] |
float | mass |
float | friction |
float | restitution |
float | margin |
float | lin_damping |
float | ang_damping |
float | lin_sleep_thresh |
float | ang_sleep_thresh |
float | orn [4] |
float | pos [3] |
char | _pad1 [4] |
struct RigidBodyOb_Shared * | shared |
Definition at line 110 of file DNA_rigidbody_types.h.
char RigidBodyOb::_pad[2] |
Definition at line 123 of file DNA_rigidbody_types.h.
char RigidBodyOb::_pad1[4] |
Definition at line 151 of file DNA_rigidbody_types.h.
float RigidBodyOb::ang_damping |
Damping for angular velocities.
Definition at line 140 of file DNA_rigidbody_types.h.
float RigidBodyOb::ang_sleep_thresh |
Deactivation threshold for angular velocities.
Definition at line 145 of file DNA_rigidbody_types.h.
int RigidBodyOb::col_groups |
Collision groups that determines which rigid bodies can collide with each other.
Definition at line 120 of file DNA_rigidbody_types.h.
int RigidBodyOb::flag |
(eRigidBodyOb_Flag).
Definition at line 118 of file DNA_rigidbody_types.h.
Referenced by BKE_ptcache_object_reset(), BKE_rigidbody_is_affected_by_simulation(), blender::io::AbstractHierarchyWriter::check_has_deforming_physics(), and EEVEE_motion_blur_cache_populate().
float RigidBodyOb::friction |
Resistance of object to movement.
Definition at line 130 of file DNA_rigidbody_types.h.
float RigidBodyOb::lin_damping |
Damping for linear velocities.
Definition at line 138 of file DNA_rigidbody_types.h.
float RigidBodyOb::lin_sleep_thresh |
Deactivation threshold for linear velocities.
Definition at line 143 of file DNA_rigidbody_types.h.
float RigidBodyOb::margin |
Tolerance for detecting collisions.
Definition at line 135 of file DNA_rigidbody_types.h.
float RigidBodyOb::mass |
How much object 'weighs' (i.e. absolute 'amount of stuff' it holds).
Definition at line 127 of file DNA_rigidbody_types.h.
short RigidBodyOb::mesh_source |
(eRigidBody_MeshSource) mesh source for mesh based collision shapes.
Definition at line 122 of file DNA_rigidbody_types.h.
Referenced by blender::deg::rigidbody_object_depends_on_evaluated_geometry().
float RigidBodyOb::orn[4] |
Rigid body orientation.
Definition at line 148 of file DNA_rigidbody_types.h.
Referenced by ptcache_rigidbody_interpolate(), ptcache_rigidbody_read(), and ptcache_rigidbody_write().
float RigidBodyOb::pos[3] |
Rigid body position.
Definition at line 150 of file DNA_rigidbody_types.h.
Referenced by ptcache_rigidbody_interpolate(), ptcache_rigidbody_read(), and ptcache_rigidbody_write().
float RigidBodyOb::restitution |
How 'bouncy' object is when it collides.
Definition at line 132 of file DNA_rigidbody_types.h.
short RigidBodyOb::shape |
(eRigidBody_Shape) collision shape to use.
Definition at line 115 of file DNA_rigidbody_types.h.
Referenced by BKE_rigidbody_is_affected_by_simulation(), blender::deg::DepsgraphRelationBuilder::build_rigidbody(), OVERLAY_collision(), and blender::deg::rigidbody_object_depends_on_evaluated_geometry().
struct RigidBodyOb_Shared* RigidBodyOb::shared |
This pointer is shared between all evaluated copies.
Definition at line 154 of file DNA_rigidbody_types.h.
Referenced by BKE_rigidbody_free_object(), object_blend_read_data(), and ptcache_rigidbody_write().
short RigidBodyOb::type |
(eRigidBodyOb_Type) role of RigidBody in sim.
Definition at line 113 of file DNA_rigidbody_types.h.
Referenced by BKE_rigidbody_is_affected_by_simulation(), blender::deg::DepsgraphRelationBuilder::build_object_pointcache(), blender::deg::DepsgraphRelationBuilder::build_rigidbody(), blender::io::AbstractHierarchyWriter::check_has_deforming_physics(), blender::io::AbstractHierarchyWriter::check_has_physics(), EEVEE_motion_blur_cache_populate(), ptcache_rigidbody_interpolate(), ptcache_rigidbody_read(), ptcache_rigidbody_write(), and visualkey_can_use().