W3cubDocs

/Godot 3.1

Shape

Inherits: Resource < Reference < Object

Inherited By: BoxShape, CapsuleShape, ConcavePolygonShape, ConvexPolygonShape, CylinderShape, HeightMapShape, PlaneShape, RayShape, SphereShape

Category: Core

Brief Description

Base class for all 3D shape resources.

Properties

float margin

Description

Base class for all 3D shape resources. Nodes that inherit from this can be used as shapes for a PhysicsBody or Area objects.

Tutorials

Property Descriptions

float margin

Setter set_margin(value)
Getter get_margin()

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_shape.html