Blender  V2.93
Public Attributes | List of all members
SoftBody Struct Reference

#include <DNA_object_force_types.h>

Public Attributes

int totpoint
 
int totspring
 
struct BodyPointbpoint
 
struct BodySpringbspring
 
char _pad
 
char msg_lock
 
short msg_value
 
float nodemass
 
char namedVG_Mass [64]
 
float grav
 
float mediafrict
 
float rklimit
 
float physics_speed
 
float goalspring
 
float goalfrict
 
float mingoal
 
float maxgoal
 
float defgoal
 
short vertgroup
 
char namedVG_Softgoal [64]
 
short fuzzyness
 
float inspring
 
float infrict
 
char namedVG_Spring_K [64]
 
int sfra
 
int efra
 
int interval
 
short local
 
short solverflags
 
SBVertex ** keys
 
int totpointkey
 
int totkey
 
float secondspring
 
float colball
 
float balldamp
 
float ballstiff
 
short sbc_mode
 
short aeroedge
 
short minloops
 
short maxloops
 
short choke
 
short solver_ID
 
short plastic
 
short springpreload
 
struct SBScratchscratch
 
float shearstiff
 
float inpush
 
struct SoftBody_Sharedshared
 
struct PointCache *pointcache DNA_DEPRECATED
 
struct ListBase ptcaches DNA_DEPRECATED
 
struct Collectioncollision_group
 
struct EffectorWeightseffector_weights
 
float lcom [3]
 
float lrot [3][3]
 
float lscale [3][3]
 
int last_frame
 

Detailed Description

Definition at line 205 of file DNA_object_force_types.h.

Member Data Documentation

◆ _pad

char SoftBody::_pad

Definition at line 212 of file DNA_object_force_types.h.

◆ aeroedge

short SoftBody::aeroedge

◆ balldamp

float SoftBody::balldamp

Cooling down collision response.

Definition at line 287 of file DNA_object_force_types.h.

Referenced by _softbody_calc_forces_slice_in_a_thread(), and sbNew().

◆ ballstiff

float SoftBody::ballstiff

Pressure the ball is loaded with.

Definition at line 289 of file DNA_object_force_types.h.

Referenced by _softbody_calc_forces_slice_in_a_thread(), and sbNew().

◆ bpoint

struct BodyPoint* SoftBody::bpoint

◆ bspring

struct BodySpring* SoftBody::bspring

◆ choke

short SoftBody::choke

◆ colball

float SoftBody::colball

Fixed collision ball size if > 0.

Definition at line 285 of file DNA_object_force_types.h.

Referenced by calculate_collision_balls(), and sbNew().

◆ collision_group

struct Collection* SoftBody::collision_group

◆ defgoal

float SoftBody::defgoal

Default goal for vertices without vgroup.

Definition at line 245 of file DNA_object_force_types.h.

Referenced by blo_do_versions_pre250(), lattice_to_softbody(), mesh_to_softbody(), renew_softbody(), and sbNew().

◆ DNA_DEPRECATED [1/2]

struct PointCache* pointcache SoftBody::DNA_DEPRECATED

Moved to SoftBody_Shared.

Definition at line 306 of file DNA_object_force_types.h.

◆ DNA_DEPRECATED [2/2]

struct ListBase ptcaches SoftBody::DNA_DEPRECATED

Moved to SoftBody_Shared.

Definition at line 306 of file DNA_object_force_types.h.

◆ effector_weights

struct EffectorWeights* SoftBody::effector_weights

◆ efra

int SoftBody::efra

Definition at line 270 of file DNA_object_force_types.h.

Referenced by blo_do_versions_pre250(), and sbNew().

◆ fuzzyness

short SoftBody::fuzzyness

Definition at line 254 of file DNA_object_force_types.h.

Referenced by softbody_apply_forces().

◆ goalfrict

float SoftBody::goalfrict

Softbody goal springs friction.

Definition at line 240 of file DNA_object_force_types.h.

Referenced by _softbody_calc_forces_slice_in_a_thread(), and sbNew().

◆ goalspring

float SoftBody::goalspring

Softbody goal springs.

Definition at line 238 of file DNA_object_force_types.h.

Referenced by _softbody_calc_forces_slice_in_a_thread(), and sbNew().

◆ grav

float SoftBody::grav

Softbody amount of gravitation to apply.

Definition at line 228 of file DNA_object_force_types.h.

Referenced by blo_do_versions_250(), and sbNew().

◆ infrict

float SoftBody::infrict

Softbody inner springs friction.

Definition at line 260 of file DNA_object_force_types.h.

Referenced by sb_spring_force(), and sbNew().

◆ inpush

float SoftBody::inpush

Definition at line 302 of file DNA_object_force_types.h.

Referenced by blo_do_versions_pre250(), sb_spring_force(), and sbNew().

◆ inspring

float SoftBody::inspring

Softbody inner springs.

Definition at line 258 of file DNA_object_force_types.h.

Referenced by _softbody_calc_forces_slice_in_a_thread(), blo_do_versions_pre250(), sb_spring_force(), and sbNew().

◆ interval

int SoftBody::interval

Definition at line 271 of file DNA_object_force_types.h.

Referenced by blo_do_versions_pre250(), and sbNew().

◆ keys

SBVertex** SoftBody::keys

Array of size totpointkey.

Definition at line 277 of file DNA_object_force_types.h.

Referenced by BKE_object_copy_softbody(), blo_do_versions_pre250(), free_softbody_baked(), and object_blend_read_data().

◆ last_frame

int SoftBody::last_frame

Definition at line 318 of file DNA_object_force_types.h.

Referenced by sbNew(), sbObjectStep(), and sbStoreLastFrame().

◆ lcom

float SoftBody::lcom[3]

◆ local

short SoftBody::local

Local==1: use local coords for baking.

Definition at line 273 of file DNA_object_force_types.h.

Referenced by sbObjectStep().

◆ lrot

float SoftBody::lrot[3][3]

◆ lscale

float SoftBody::lscale[3][3]

◆ maxgoal

float SoftBody::maxgoal

Definition at line 243 of file DNA_object_force_types.h.

Referenced by _final_goal(), and sbNew().

◆ maxloops

short SoftBody::maxloops

Definition at line 293 of file DNA_object_force_types.h.

Referenced by sbNew(), and softbody_step().

◆ mediafrict

float SoftBody::mediafrict

Friction to env.

Definition at line 230 of file DNA_object_force_types.h.

Referenced by _softbody_calc_forces_slice_in_a_thread(), and sbNew().

◆ mingoal

float SoftBody::mingoal

Quick limits for goal.

Definition at line 242 of file DNA_object_force_types.h.

Referenced by _final_goal(), and sbNew().

◆ minloops

short SoftBody::minloops

Definition at line 292 of file DNA_object_force_types.h.

Referenced by sbNew(), and softbody_step().

◆ msg_lock

char SoftBody::msg_lock

Definition at line 213 of file DNA_object_force_types.h.

◆ msg_value

short SoftBody::msg_value

Definition at line 214 of file DNA_object_force_types.h.

◆ namedVG_Mass

char SoftBody::namedVG_Mass[64]

Along with it introduce mass painting starting to fix old bug .. nastiness that VG are indexes rather find them by name tag to find it -> jow20090613. MAX_VGROUP_NAME

Definition at line 226 of file DNA_object_force_types.h.

Referenced by lattice_to_softbody(), and mesh_to_softbody().

◆ namedVG_Softgoal

char SoftBody::namedVG_Softgoal[64]

Starting to fix old bug .. nastiness that VG are indexes rather find them by name tag to find it -> jow20090613. MAX_VGROUP_NAME

Definition at line 252 of file DNA_object_force_types.h.

◆ namedVG_Spring_K

char SoftBody::namedVG_Spring_K[64]

Along with it introduce Spring_K painting starting to fix old bug .. nastiness that VG are indexes rather find them by name tag to find it -> jow20090613. MAX_VGROUP_NAME

Definition at line 267 of file DNA_object_force_types.h.

Referenced by lattice_to_softbody(), and mesh_to_softbody().

◆ nodemass

float SoftBody::nodemass

Softbody mass of vertex.

Definition at line 220 of file DNA_object_force_types.h.

Referenced by _final_mass(), sbNew(), and softbody_apply_forces().

◆ physics_speed

float SoftBody::physics_speed

User control over simulation speed.

Definition at line 234 of file DNA_object_force_types.h.

Referenced by blo_do_versions_pre250(), sb_time_scale(), and sbNew().

◆ plastic

short SoftBody::plastic

Definition at line 296 of file DNA_object_force_types.h.

Referenced by apply_spring_memory(), and softbody_step().

◆ rklimit

float SoftBody::rklimit

Error limit for ODE solver.

Definition at line 232 of file DNA_object_force_types.h.

Referenced by sbNew(), and softbody_step().

◆ sbc_mode

short SoftBody::sbc_mode

Definition at line 290 of file DNA_object_force_types.h.

Referenced by calculate_collision_balls(), and sbNew().

◆ scratch

struct SBScratch* SoftBody::scratch

◆ secondspring

float SoftBody::secondspring

Definition at line 281 of file DNA_object_force_types.h.

Referenced by mesh_to_softbody(), and sb_spring_force().

◆ sfra

int SoftBody::sfra

Definition at line 270 of file DNA_object_force_types.h.

Referenced by blo_do_versions_pre250(), and sbNew().

◆ shared

struct SoftBody_Shared* SoftBody::shared

◆ shearstiff

float SoftBody::shearstiff

Definition at line 301 of file DNA_object_force_types.h.

Referenced by blo_do_versions_pre250(), sb_spring_force(), and sbNew().

◆ solver_ID

short SoftBody::solver_ID

Definition at line 295 of file DNA_object_force_types.h.

Referenced by softbody_step().

◆ solverflags

short SoftBody::solverflags

◆ springpreload

short SoftBody::springpreload

Definition at line 297 of file DNA_object_force_types.h.

Referenced by springs_from_mesh().

◆ totkey

int SoftBody::totkey

◆ totpoint

int SoftBody::totpoint

◆ totpointkey

int SoftBody::totpointkey

If totpointkey != totpoint or totkey!- (efra-sfra)/interval -> free keys.

Definition at line 279 of file DNA_object_force_types.h.

Referenced by BKE_object_copy_softbody().

◆ totspring

int SoftBody::totspring

◆ vertgroup

short SoftBody::vertgroup

The documentation for this struct was generated from the following file: