Blender V5.3
depsgraph_physics.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::deg

Enumerations

enum class  blender::CollisionComponentFlag : uint8_t { blender::None = 0 , blender::Transform = 1 << 0 , blender::Geometry = 1 << 1 , blender::EvalPose = 1 << 2 }

Functions

static ePhysicsCollisionType blender::modifier_to_collision_type (uint modifier_type)
template<class T>
static ID * blender::object_id_safe (T *object)
ListBaseT< EffectorRelation > * blender::DEG_get_effector_relations (const Depsgraph *depsgraph, Collection *collection)
ListBaseT< CollisionRelation > * blender::DEG_get_collision_relations (const Depsgraph *depsgraph, Collection *collection, unsigned int modifier_type)
 blender::ENUM_OPERATORS (CollisionComponentFlag)
void blender::DEG_add_collision_relations (DepsNodeHandle *handle, Object *object, Collection *collection, unsigned int modifier_type, DEG_CollobjFilterFunction filter_function, const char *name)
void blender::DEG_add_forcefield_relations (DepsNodeHandle *handle, Object *object, EffectorWeights *eff, bool add_absorption, int skip_forcefield, const char *name)
ListBaseT< EffectorRelation > * blender::deg::build_effector_relations (Depsgraph *graph, Collection *collection)
ListBaseT< CollisionRelation > * blender::deg::build_collision_relations (Depsgraph *graph, Collection *collection, uint modifier_type)
void blender::deg::clear_physics_relations (Depsgraph *graph)

Detailed Description

Physics utilities for effectors and collision.

Definition in file depsgraph_physics.cc.