SoftBody3D

Inherits: MeshInstance3D < GeometryInstance3D < VisualInstance3D < Node3D < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

int

collision_layer

1

int

collision_mask

1

float

damping_coefficient

0.01

DisableMode

disable_mode

0

float

drag_coefficient

0.0

float

linear_stiffness

0.5

NodePath

parent_collision_ignore

NodePath("")

float

pressure_coefficient

0.0

bool

ray_pickable

true

int

simulation_precision

5

float

total_mass

1.0

Methods

void

add_collision_exception_with ( Node body )

PhysicsBody3D[]

get_collision_exceptions ( )

bool

get_collision_layer_value ( int layer_number ) const

bool

get_collision_mask_value ( int layer_number ) const

RID

get_physics_rid ( ) const

Vector3

get_point_transform ( int point_index )

bool

is_point_pinned ( int point_index ) const

void

remove_collision_exception_with ( Node body )

void

set_collision_layer_value ( int layer_number, bool value )

void

set_collision_mask_value ( int layer_number, bool value )

void

set_point_pinned ( int point_index, bool pinned, NodePath attachment_path=NodePath(“”) )


Enumerations

enum DisableMode:

DisableMode DISABLE_MODE_REMOVE = 0

There is currently no description for this enum. Please help us by contributing one!

DisableMode DISABLE_MODE_KEEP_ACTIVE = 1

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

int collision_layer = 1

  • void set_collision_layer ( int value )

  • int get_collision_layer ( )

There is currently no description for this property. Please help us by contributing one!


int collision_mask = 1

  • void set_collision_mask ( int value )

  • int get_collision_mask ( )

There is currently no description for this property. Please help us by contributing one!


float damping_coefficient = 0.01

  • void set_damping_coefficient ( float value )

  • float get_damping_coefficient ( )

There is currently no description for this property. Please help us by contributing one!


DisableMode disable_mode = 0

There is currently no description for this property. Please help us by contributing one!


float drag_coefficient = 0.0

  • void set_drag_coefficient ( float value )

  • float get_drag_coefficient ( )

There is currently no description for this property. Please help us by contributing one!


float linear_stiffness = 0.5

  • void set_linear_stiffness ( float value )

  • float get_linear_stiffness ( )

There is currently no description for this property. Please help us by contributing one!


NodePath parent_collision_ignore = NodePath("")

  • void set_parent_collision_ignore ( NodePath value )

  • NodePath get_parent_collision_ignore ( )

There is currently no description for this property. Please help us by contributing one!


float pressure_coefficient = 0.0

  • void set_pressure_coefficient ( float value )

  • float get_pressure_coefficient ( )

There is currently no description for this property. Please help us by contributing one!


bool ray_pickable = true

  • void set_ray_pickable ( bool value )

  • bool is_ray_pickable ( )

There is currently no description for this property. Please help us by contributing one!


int simulation_precision = 5

  • void set_simulation_precision ( int value )

  • int get_simulation_precision ( )

There is currently no description for this property. Please help us by contributing one!


float total_mass = 1.0

  • void set_total_mass ( float value )

  • float get_total_mass ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_collision_exception_with ( Node body )

There is currently no description for this method. Please help us by contributing one!


PhysicsBody3D[] get_collision_exceptions ( )

There is currently no description for this method. Please help us by contributing one!


bool get_collision_layer_value ( int layer_number ) const

There is currently no description for this method. Please help us by contributing one!


bool get_collision_mask_value ( int layer_number ) const

There is currently no description for this method. Please help us by contributing one!


RID get_physics_rid ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector3 get_point_transform ( int point_index )

There is currently no description for this method. Please help us by contributing one!


bool is_point_pinned ( int point_index ) const

There is currently no description for this method. Please help us by contributing one!


void remove_collision_exception_with ( Node body )

There is currently no description for this method. Please help us by contributing one!


void set_collision_layer_value ( int layer_number, bool value )

There is currently no description for this method. Please help us by contributing one!


void set_collision_mask_value ( int layer_number, bool value )

There is currently no description for this method. Please help us by contributing one!


void set_point_pinned ( int point_index, bool pinned, NodePath attachment_path=NodePath(“”) )

There is currently no description for this method. Please help us by contributing one!