Skip to content

raylib.DrawCapsuleWires

JoeStrout edited this page Apr 29, 2026 · 3 revisions

Draw capsule wires with the center of its sphere caps at startPos and endPos

Parameters

Parameter Default Value Note
startPos
endPos
radius 1.0
slices 16
rings 8
color WHITE

Return value

None.

Notes

Example

// Inside BeginMode3D / EndMode3D:
raylib.DrawCapsuleWires [0,0,0], [0,2,0], 0.5, 16, 8, raylib.GREEN

Clone this wiki locally