Table of Contents

Method AddCapsule

Namespace
Box3D
Assembly
Box3D.NET.dll

AddCapsule(Capsule, PhysicsMaterial?)

Adds a capsule.

public CompoundBuilder AddCapsule(Capsule capsule, PhysicsMaterial? material = null)

Parameters

capsule Capsule

The capsule, in compound-local space.

material PhysicsMaterial?

The surface material, or null for the defaults.

Returns

CompoundBuilder

This builder, so calls can be chained.