Documentation

Unity Engine

Unity Engine

CreateShapeProxy(bool)

Create a shape proxy from the shape.
Read time 1 minuteLast updated 2 months ago

Definition

public PhysicsShape.ShapeProxy CreateShapeProxy(bool useWorldSpace = false)

Parameters

useWorldSpace

Whether to create the shape proxy in world-space or not. World-space will transform by the body origin the shape is attached to.

Returns

Type

Description

ShapeProxy