文档

Unity Engine

Unity Engine

CreateShapeProxy(bool)

Create a shape proxy from the shape.
阅读时间1 分钟最后更新于 1 个月前

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