This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
gamedev:shapes [2020/04/03 21:24] – dragonlord | gamedev:shapes [2020/04/03 21:26] (current) – [Capsule] dragonlord | ||
---|---|---|---|
Line 31: | Line 31: | ||
====== Capsule ====== | ====== Capsule ====== | ||
- | A capsule is defined by a position, orientation, | + | A capsule is defined by a position, orientation, |
^ Parameter | ^ Parameter | ||
|Position|The position of the capsule center.|(0, | |Position|The position of the capsule center.|(0, | ||
Line 38: | Line 38: | ||
|Top Radius|Radius of the top circle face of the capsule|0.5| | |Top Radius|Radius of the top circle face of the capsule|0.5| | ||
|Bottom Radius|Radius of the bottom circle face of the capsule|0.5| | |Bottom Radius|Radius of the bottom circle face of the capsule|0.5| | ||
+ | |||
+ | ====== Hull ====== | ||
+ | A convex hull is defined by a position, orientation, | ||
+ | ^ Parameter | ||
+ | |Position|The position of the capsule center.|(0, | ||
+ | |Orientation|The orientation of the capsule expressed as a quaternion.|(0, | ||
+ | |Points|List of points as 3-Vector values|empty list| |