Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
mnd::CapsuleCollider Class Reference

Y-axis capsule collider (cylinder + hemispherical caps). More...

#include <Collider.h>

+ Inheritance diagram for mnd::CapsuleCollider:
+ Collaboration diagram for mnd::CapsuleCollider:

Public Member Functions

 CapsuleCollider (float radius, float height)
 
btCollisionShape * GetShape ()
 Underlying Bullet shape (borrowed, do not delete).
 

Protected Attributes

btCollisionShape * m_shape = nullptr
 

Detailed Description

Y-axis capsule collider (cylinder + hemispherical caps).

Definition at line 58 of file Collider.h.

Constructor & Destructor Documentation

◆ CapsuleCollider()

mnd::CapsuleCollider::CapsuleCollider ( float  radius,
float  height 
)

Definition at line 33 of file Collider.cpp.

References mnd::Collider::m_shape.

Member Function Documentation

◆ GetShape()

btCollisionShape * mnd::Collider::GetShape ( )
inherited

Underlying Bullet shape (borrowed, do not delete).

Definition at line 17 of file Collider.cpp.

References mnd::Collider::m_shape.

Member Data Documentation

◆ m_shape

btCollisionShape* mnd::Collider::m_shape = nullptr
protectedinherited

The documentation for this class was generated from the following files: