Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateShapeProxy(bool)

Create a shape proxy from the shape.
Read time 1 minuteLast updated 10 days 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