GLTFPhysicsShape

Inherits: Resource < RefCounted < Object

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

Properties

float

height

2.0

ImporterMesh

importer_mesh

bool

is_trigger

false

int

mesh_index

-1

float

radius

0.5

String

shape_type

""

Vector3

size

Vector3(1, 1, 1)

Methods

GLTFPhysicsShape

from_dictionary ( Dictionary dictionary ) static

GLTFPhysicsShape

from_node ( CollisionShape3D shape_node ) static

GLTFPhysicsShape

from_resource ( Shape3D shape_resource ) static

Dictionary

to_dictionary ( ) const

CollisionShape3D

to_node ( bool cache_shapes=false )

Shape3D

to_resource ( bool cache_shapes=false )


Property Descriptions

float height = 2.0

  • void set_height ( float value )

  • float get_height ( )

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


ImporterMesh importer_mesh

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


bool is_trigger = false

  • void set_is_trigger ( bool value )

  • bool get_is_trigger ( )

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


int mesh_index = -1

  • void set_mesh_index ( int value )

  • int get_mesh_index ( )

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


float radius = 0.5

  • void set_radius ( float value )

  • float get_radius ( )

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


String shape_type = ""

  • void set_shape_type ( String value )

  • String get_shape_type ( )

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


Vector3 size = Vector3(1, 1, 1)

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


Method Descriptions

GLTFPhysicsShape from_dictionary ( Dictionary dictionary ) static

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


GLTFPhysicsShape from_node ( CollisionShape3D shape_node ) static

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


GLTFPhysicsShape from_resource ( Shape3D shape_resource ) static

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


Dictionary to_dictionary ( ) const

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


CollisionShape3D to_node ( bool cache_shapes=false )

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


Shape3D to_resource ( bool cache_shapes=false )

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