Method AddCapsule
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
AddCapsule(Capsule, PhysicsMaterial?)
Adds a capsule.
public CompoundBuilder AddCapsule(Capsule capsule, PhysicsMaterial? material = null)Parameters
capsuleCapsule-
The capsule, in compound-local space.
materialPhysicsMaterial?-
The surface material, or null for the defaults.
Returns
- CompoundBuilder
-
This builder, so calls can be chained.