Skip to main content

PhysicsServer3DRenderingServerHandler

Inherits: Object

A class used to provide PhysicsServer3DExtension._soft_body_update_rendering_server() with a rendering handler for soft bodies.

Methods

void_set_aabb\ (\ aabb: AABB\ ) virtual required
void_set_normal\ (\ vertex_id: int, normal: Vector3\ ) virtual required
void_set_vertex\ (\ vertex_id: int, vertex: Vector3\ ) virtual required
voidset_aabb\ (\ aabb: AABB\ )
voidset_normal\ (\ vertex_id: int, normal: Vector3\ )
voidset_vertex\ (\ vertex_id: int, vertex: Vector3\ )

Method Descriptions

void _set_aabb\ (\ aabb: AABB\ ) virtual required 🔗

Called by the PhysicsServer3D to set the bounding box for the SoftBody3D.


void _set_normal\ (\ vertex_id: int, normal: Vector3\ ) virtual required 🔗

Called by the PhysicsServer3D to set the normal for the SoftBody3D vertex at the index specified by vertex_id.

\ Note: The normal parameter used to be of type const void* prior to Godot 4.2.


void _set_vertex\ (\ vertex_id: int, vertex: Vector3\ ) virtual required 🔗

Called by the PhysicsServer3D to set the position for the SoftBody3D vertex at the index specified by vertex_id.

\ Note: The vertex parameter used to be of type const void* prior to Godot 4.2.


void set_aabb\ (\ aabb: AABB\ ) 🔗

Sets the bounding box for the SoftBody3D.


void set_normal\ (\ vertex_id: int, normal: Vector3\ ) 🔗

Sets the normal for the SoftBody3D vertex at the index specified by vertex_id.


void set_vertex\ (\ vertex_id: int, vertex: Vector3\ ) 🔗

Sets the position for the SoftBody3D vertex at the index specified by vertex_id.