文档

Unity Engine

Unity Engine

Create(PhysicsBody, ChainGeometry, PhysicsChainDefinition)

Create a Chain of multiple shapes attached to the specified body which itself is within a world.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static PhysicsChain Create(PhysicsBody body, ChainGeometry geometry, PhysicsChainDefinition definition)

Parameters

The body to attach the shape(s) to.

The shape geometry to use.

The shape definition to use.

Returns

Type

Description

PhysicsChainThe created shape.