|
Blender V5.3
|
#include <DNA_rigidbody_types.h>
Public Attributes | |
| eRigidBodyOb_Type | type = RBO_TYPE_ACTIVE |
| eRigidBody_Shape | shape = RB_SHAPE_BOX |
| eRigidBodyOb_Flag | flag = {} |
| int | col_groups = 0 |
| eRigidBody_MeshSource | mesh_source = RBO_MESH_BASE |
| char | _pad [2] = {} |
| float | mass = 0 |
| float | friction = 0 |
| float | restitution = 0 |
| float | margin = 0 |
| float | lin_damping = 0 |
| float | ang_damping = 0 |
| float | lin_sleep_thresh = 0 |
| float | ang_sleep_thresh = 0 |
| float | orn [4] = {} |
| float | pos [3] = {} |
| char | _pad1 [4] = {} |
| struct RigidBodyOb_Shared * | shared = nullptr |
Definition at line 242 of file DNA_rigidbody_types.h.
| char blender::RigidBodyOb::_pad[2] = {} |
Definition at line 254 of file DNA_rigidbody_types.h.
| char blender::RigidBodyOb::_pad1[4] = {} |
Definition at line 282 of file DNA_rigidbody_types.h.
| float blender::RigidBodyOb::ang_damping = 0 |
Damping for angular velocities.
Definition at line 271 of file DNA_rigidbody_types.h.
| float blender::RigidBodyOb::ang_sleep_thresh = 0 |
Deactivation threshold for angular velocities.
Definition at line 276 of file DNA_rigidbody_types.h.
| int blender::RigidBodyOb::col_groups = 0 |
Collision groups that determines which rigid bodies can collide with each other.
Definition at line 251 of file DNA_rigidbody_types.h.
| eRigidBodyOb_Flag blender::RigidBodyOb::flag = {} |
Definition at line 249 of file DNA_rigidbody_types.h.
Referenced by blender::BKE_ptcache_object_reset(), blender::BKE_rigidbody_is_affected_by_simulation(), blender::io::AbstractHierarchyWriter::check_has_deforming_physics(), and blender::rigidbody_copy_object().
| float blender::RigidBodyOb::friction = 0 |
Resistance of object to movement.
Definition at line 261 of file DNA_rigidbody_types.h.
| float blender::RigidBodyOb::lin_damping = 0 |
Damping for linear velocities.
Definition at line 269 of file DNA_rigidbody_types.h.
| float blender::RigidBodyOb::lin_sleep_thresh = 0 |
Deactivation threshold for linear velocities.
Definition at line 274 of file DNA_rigidbody_types.h.
| float blender::RigidBodyOb::margin = 0 |
Tolerance for detecting collisions.
Definition at line 266 of file DNA_rigidbody_types.h.
| float blender::RigidBodyOb::mass = 0 |
How much object 'weighs' (i.e. absolute 'amount of stuff' it holds).
Definition at line 258 of file DNA_rigidbody_types.h.
| eRigidBody_MeshSource blender::RigidBodyOb::mesh_source = RBO_MESH_BASE |
Mesh source for mesh based collision shapes.
Definition at line 253 of file DNA_rigidbody_types.h.
Referenced by blender::deg::rigidbody_object_depends_on_evaluated_geometry().
| float blender::RigidBodyOb::orn[4] = {} |
Rigid body orientation.
Definition at line 279 of file DNA_rigidbody_types.h.
Referenced by blender::ptcache_rigidbody_interpolate(), blender::ptcache_rigidbody_read(), and blender::ptcache_rigidbody_write().
| float blender::RigidBodyOb::pos[3] = {} |
Rigid body position.
Definition at line 281 of file DNA_rigidbody_types.h.
Referenced by blender::ptcache_rigidbody_interpolate(), blender::ptcache_rigidbody_read(), and blender::ptcache_rigidbody_write().
| float blender::RigidBodyOb::restitution = 0 |
How 'bouncy' object is when it collides.
Definition at line 263 of file DNA_rigidbody_types.h.
| eRigidBody_Shape blender::RigidBodyOb::shape = RB_SHAPE_BOX |
Collision shape to use.
Definition at line 247 of file DNA_rigidbody_types.h.
Referenced by blender::BKE_rigidbody_is_affected_by_simulation(), blender::draw::overlay::Bounds::object_sync(), and blender::deg::rigidbody_object_depends_on_evaluated_geometry().
| struct RigidBodyOb_Shared* blender::RigidBodyOb::shared = nullptr |
This pointer is shared between all evaluated copies.
Definition at line 285 of file DNA_rigidbody_types.h.
Referenced by blender::BKE_rigidbody_free_object(), blender::object_blend_read_data(), blender::ptcache_rigidbody_write(), and blender::rigidbody_copy_object().
| eRigidBodyOb_Type blender::RigidBodyOb::type = RBO_TYPE_ACTIVE |
Role of RigidBody in sim.
Definition at line 245 of file DNA_rigidbody_types.h.
Referenced by blender::BKE_rigidbody_is_affected_by_simulation(), blender::io::AbstractHierarchyWriter::check_has_deforming_physics(), blender::io::AbstractHierarchyWriter::check_has_physics(), blender::ptcache_rigidbody_interpolate(), blender::ptcache_rigidbody_read(), blender::ptcache_rigidbody_write(), and blender::animrig::visualkey_can_use().